blazoncek / WLED

Control WS2812B and many more types of digital RGB LEDs with an ESP8266 or ESP32 over WiFi!
MIT License
31 stars 0 forks source link

Added line drawing function based on Bresenham #24

Closed lost-hope closed 2 years ago

lost-hope commented 2 years ago

I have added a drawline function, which should work and should be fairly efficient. It is based on Bresenham's Line algorithm.

I have just done some smaller tests. more test might be required

lost-hope commented 2 years ago

test might be done with an easy effect that moves the line arround. on the matrix