View Code? Open in Web Editor
NEW
This project is a desk lamp retrofitted with a string of RGB LEDs wrapped in a spiral pattern around a central core. The WS2812b string of LEDs is driven by an ESP32 and the code developed using PlatformIO and the FastLED library.
spiral_rgb_lamp's Issues
Add a function header and inline comments for the function TwinkleTails.
Create a new animation that is reminiscent of fireflies.
Choose a random position within the strip.
Choose a random color from a table.
Create an object with the following properties:
Insert the new pixel into an array at it's position.
Draw the pixel at the position and increment it's age.
For each subsequent frame draw a new pixel ahead of the original pixel until max_age is reached.
Fade all pixels each frame.
Affected file: twinkle.h
Implementation: Loop through the leds up to NUM_LEDS - 2 and copy led[i] to led[i+1].
Setting to try: bump max_brightness to 255 and fadeAmt to 64.