Simple rain and lightning demo for matrix displays.

Simple rain and lightning demo for matrix displays.

There are two interesting parts in this code: the lightning and the water drops. Both are 3rd party routines adapted or ported to FastLED. And both are worth reusing.

Code: http://pastebin.com/WeBbAaxJ
http://www.youtube.com/watch?v=7VH_mzjnUwE

Looks great, thanks for sharing! I like your diffuser set up, very nice.

I really like the animation!

I would only make a few adjustments that would make the drops fall a little smoother by using anti-aliasing (as outlined here https://plus.google.com/112916219338292742137/posts/2VYNQgD38Pw).

Thanks for sharing this, it might end up in a project I’m working on :slight_smile:

Sure, there is some room for improvement. The rain drop code currently is a 1:1 port to FastLED. The original code was for a very constrained setup.

Feel free to use the code for whatever you like. :slight_smile: