thebigpotatoe / Super-Simple-RGB-WiFi-Lamp

A project based on the ESP8266 and WS2812b
MIT License
66 stars 28 forks source link

Add circle animation #16

Closed LarsMichelsen closed 4 years ago

LarsMichelsen commented 4 years ago

When I tried to configure the top/bottom/left/right LEDs I mixed up things a bit. When trying to debug this, it would have helped to have some plain simple animation that uses these logical LED arrays to go round the lamp.

So I created the animation "Circle" that draws a red dot moving round the lamp, starting from bottom left of the lamp, moving to the right.

thebigpotatoe commented 4 years ago

Looks great! Have you tested it as well?

LarsMichelsen commented 4 years ago

Sure. I used it to fix my buggy top/bottom/left/rightLed definitions. We could also add some parameters to this animation in the future, like color, speed and length of the tail.

thebigpotatoe commented 4 years ago

Awesome, just don't have time at the moment as everything I have is packed up at the moment. I'll merge it in. Thanks again.