hey guys! I'm a huge fan of these forums and I have been searching for a few days here (and other places) and have not been able to find what i'm looking or.
I have purchased a couple of these for experimenting and getting ideas http://www.aliexpress.com/item/3-Key-Mini-Controller-For-Test-WS2811-WS2812-WS2812B-Pixel-LED-Strip-Light-DC5V/1498586246.html and I'm trying to figure out how they have been able to determine the length of the strand. I have many of these light strands (ws2812B). And when connected to the device a 1meter strand will function the same way as a 5meter strand. Not just for rainbow affects but a chasing led affect. (Sends 2 pixels down the strand until the end is reached then starts over, as well as another which sends a few pixels (more on the larger strand so clearly math is used for this function) to the end with a faded tail until the end is reached, then it starts over again.
My only assumption is that due to the fact that the device is designed to run only so many leds that it is checking after each pixel color is set if that pixel actually has a color. if there is no pixel then it returns a false/null type statement thus restarting the affect in the next color. The adafruit library does this...are there others?
Also, is there a repository for many light affects? I really like the water torture affect, but everywhere I go it's in java script. no c++
Anyway, thanks in advance everyone!!!!