Hi everyone, I was wondering if anyone has used three or more strips of

Hi everyone,

I was wondering if anyone has used three or more strips of LED’s (Neopixel in my case) of varying length and ran a wave pattern or even a palette from one end to another. But the trick is that all three led strips start and end at the same time.

Ie.
strip 1 is 180 LEDs
Strip 2 is 240 LEDs
Strip 3 is 300 LEDs

have them all with palette Blue, Teal, Purple, Green.

Not sure if that makes sense. I’m having a hard time describing it. But please ask questions and hopefully I can clarify is something is unclear.

If you set a counter that loops from 1 to 60
Strip 1 lights up the next LED at every count of 20, 40 and 60
strip 2 lights up the next LED at every count of 15, 30, 45 and 60
strip 3 lights up the next LED at every count of 12, 24, 36, 48, and 60

In my case, I’d use sine waves and adjust the frequency for each wave accordingly.

Andrew, that’s a good idea. Although I’ve never worked with the sine function in fastled. Is there an example in the library? I’m not at my computer at the moment.

@Curtis_Smith Beatsin8: https://github.com/FastLED/FastLED/blob/FastLED3.1/examples/DemoReel100/DemoReel100.ino#L106-L115

This too: sin8: http://pastebin.com/xKahEP61

@Jon_Burroughs Thank you for those, I’ll dive in and see what I can learn.

@Jon_Burroughs Thanks for those, it gave me some good ideas. Do you or anyone else know if it’s possible to randomize the colors in a palette? Here is what ive ended up with so far http://pastebin.com/raw.php?i=aSKvKyKH