Got new hardware. Played with some idea and got a bit lost in it...

Got new hardware. Played with some idea and got a bit lost in it…
…wait for Funky Clouds - YouTube! Cheers!
#FunkyClouds
Funky Clouds - YouTube

Very nice! :slight_smile: I’d love to see how you accomplished that pattern. Would you be willing to share any code?

That looks very similar to one of the fade candy demos :slight_smile:

Yes, just let me clean and comment the code before, it’s really quick and dirty right now…
@Daniel_Garcia Wow, nice! Thanks for the key word…i never saw it before, I just dreamed about it…good that my msgeq7 is on the way. :slight_smile:

(N.B. fadecandy is an 8-way led interface board by a friend of mine out here - it’s basically a dedicated teensy 3 running a highly modified version of OctoWS2811 - you do all your frame work on a PC and push frame data out over USB - the Fadecandy board does dithering/interpolation and driving of the leds)

edit - code moved: http://pastebin.com/pFdQSsFD

Maybe worth throwing into a pastebin or gist (gists can be revision controlled, have history, etc…)?

I never worked with that. What’s the advantage?
Basically I’m thinking about a video tutorial, explaining some simple basic ideas and show how to bring them together for real complex effects…

http://pastebin.com/pFdQSsFD

What’s the advantage of fadecandy? Fadecandy is good if you want to drive thousands of LEDs from a PC. Basically, each fadecandy board can drive 512 leds (but it is driving them at 400hz, which is really good for getting dithering effects), and you can hook up a bunch of them to a computer via usb.

Oh, sorry Daniel, I meant what’s the advantage of pastebin… Easier to read?!
400 Hz sounds serious! :slight_smile:

(personally I prefer gist over pastebin these days) - the advantage is easier to link directly to the code for sharing, it also does code highlighting, and is easier for reading/skimming. Code in g+ comments is kind of crappy, and even worse on mobile devices.

Thanks for sharing the code. I’ve tried to switch over to an 8x8 but nothing happens. Could you help point me in the correct direction to fix?

Nothing?! Set the right pin and chipset? Have the FastLED examples working on your setup? I guess so.

You need to adjust the parameters of Spiral(7,7,8,128)

So Spiral(3,3,4,128) should work on a 8x8.

Start with the emitter alone and than play with the values of every single effect one by one.

I get the first frame of data, then nothing else happens. It seems to hang somewhere…I’m trying to debug via serial right now

Edited my post above. Adjust the center and radius of the spiral according to your matrix size.

Spiral( center x, center y, radius, color scalefactor )

Does your silence tell me, that you got it working?

That worked, sorta. I’m not getting the same effect you show in the vid. It looks like there are issues with the wrap around points still…

Make the spiral even smaller, to get a feeling, what it does.
The reproduction of the same effect is tricky on a smaller matrix size, becuse it’s not a particle system mapped, it just works within the screen buffer itself. Play with the color scale values. By the way: The XY function as it is, is designed for a “S” shaped matrix. Correct this, if you have every line beginning at the same side.

I’m using an Adafruit NEOPIXEL matrix, I think they wire in a reverse ‘S’ fashion. The top left is the first pixel. How would I go about altering your code?