Is it possible to have an ability to draw or fill an arc for espruino devices with display (BangleJS/PixelJs).
A native method with parameters : Start Angle, Sweep Angle, X, Y coordinate and radius.
Espruino already have native functions for circle and ellipse that can be use to draw an arc. Just a thought!!
Take a look into this collection of ideas at Enhancement for Graphics #1702
At the moment there is nothing built in, but it's pretty easy to do by creating a polyline for the arc segment you want and passing that into fillPoly/drawPoly
Waiting for my bangle, I've created some special charts.
Thanks to MaBe I know its working on Bangle.
Inside PIE and other charts, there is a Q&U solution for arc used.
Excellent work @JumJum. I really enjoyed a lot you work. Chart looks amazing :)
Its my pleisure :-)
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem