-->
Page 1 of 1

NTP-synchronized analog clock & line rendering question

PostPosted: Mon Nov 30, 2015 6:46 am
by 0xPIT
Hi,

I've hacked up an analog clock, get the ESP-Arduino code here:
https://github.com/0xPIT/esp8266playgro ... nalogClock

Does anyone have an idea or a pointer to sample code that helps me improve the clock face using think lines?
Currently, the GFX-Library can only do Bresenham-lines that are 1px in width. I'd like to be able to specify the width of the lines, and have it render nicely.

I've found this thorough reference: http://members.chello.at/easyfilter/bresenham.html but I can not get it to work properly.

Any clues?

Thanks

pit