I thought I’d share my first completely independent Particle Core project: Blinky Eyes!
This is an LED strip animation which is supposed to resemble pairs of glowing eyes that appear, blink a few times, then disappear again. The idea is that the lights could be hidden in shrubbery, under a porch, behind a dark window, etc, to give the impression of sinister monsters watching from the shadows!
I just got the code working about an hour ago, so it still needs some features and adjustments, but I was just so darned happy to figure out how to pass a pointer to my NeoPixel variable into my animation class, that I had to go ahead and share. Note that I’m currently using my Message Torch setup for testing, but the final idea is to string the lights out.
Here’s my quick test video:
A couple of notes:
The eyes are supposed to slowly fade in, blink, then slowly fade out. For some reason, the fade is stuttering. Looking into that.
The number of blinks is random, 2-5 times. The blink timing is also randomized.
After fading out, the eyes will wait a random amount of time before appearing again.
After I fix some things and clean the code up, I’ll share.