pilotak / docker-rpi-ws281x-mqtt

Raspberry Pi Docker for controlling WS281x LEDs via MQTT
MIT License
6 stars 9 forks source link

effects implementation #2

Closed hacker-h closed 4 years ago

hacker-h commented 4 years ago

Hi, do you have an example on how to properly implement effects? The readme refers to the Knight Rider effect, however I cannot find any implementation and my approaches to implement effects would require severe refactoring. Could you briefly explain the supposed way of implementation?

pilotak commented 4 years ago

Honestly effects are my wish and are on todo list but far bottom. Anyway if you want to submit a PR you more than welcome i don't mind refactoring i would probably have to make them too.

hacker-h commented 4 years ago

I did some work in the last days: https://github.com/pilotak/docker-rpi-ws281x-mqtt/pull/3

Feel free to integrate what you like