I run untested, viewer-submitted code on my 500-LED christmas tree.
Video Statistics and Information
Channel: Matt_Parker_2
Views: 4,135,422
Rating: 4.9255352 out of 5
Keywords:
Id: v7eHTNm1YtU
Channel Id: undefined
Length: 45min 16sec (2716 seconds)
Published: Tue Jan 12 2021
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.
If you haven't seen the first video, each of the LEDs are mapped to a 3D position to make this possible.
Not just any YouTuber, that's Matt Parker you're talking about!
I personally liked the Snake pattern the most, which you can see at the 17:20 minute mark.
It's really refreshing to see so many not work, as weird as that sounds. Makes me feel like a better programmer. So many times with social media you only see the edited and filtered end results and it can really shake your confidence. Nothing wrong with writing some code that needs debugging! Cheers
How are there so many broken scripts?
A lot less penises, swastikas, and n-words than I expected!
Running Internet strangers' code with sudo without checking it first seems like a disaster waiting to happen lol
βYouTuberβ
Heβs Matt Parker, the inventor of the Parkerβs Square.
A problem with RGB LEDs is that while you can have 0-255 values for example (depending on the controller) for each color, the LEDs themselves have different intensities at different values. For example the blue LED may appear to be saturated at value 180 while the red LED would appear to be saturated at 220. At the same time one may fade gradually down to 20 and then turn off entirely (or seem to) while another would turn off at 40.
I'm no expert but from what I read while playing around this seems to be due to the chemistry of the light generating material in combination with the controlling microchip. Different colors use different chemicals to generate the color, require different voltages and result in different "brightness". You can just look at regular colored LEDs and you'll notice that blue LEDs tend to be glaringly bright, while orange or red not so much.
When I was playing around with RGB LEDs I had to eyeball the "natural range" for each color and write a transform function from a 0-255 value to each color's range just to make it easier on myself. That way I can still use intuitive 0-max values while not having to remember the individual value ranges for the individual colors.