Tech Note 152 - Use the Adafruit GFX Library to draw Lines of Any Thickness and Angle
G6EJD - David G6EJD - David
15.9K subscribers
3,124 views
116

 Published On Apr 12, 2021

Using the Adafruit GFX functions enables a line of any thickness and at any angle to be drawn. Using two triangles drawn at opposite ends to each other and Pythagoras and some vector mathematics to rotate the triangles a useful function can be created.

Code: https://github.com/G6EJD/GFX-Library-...

show more

Share/Embed