@MaBe, heard about... --- Had some fun as you see in the next post. Since the .fillPoly() has some its limitations, I'm thinking to expand my CGauge.js prototype/'class' with a segmented .fillPoly() for re-drawing in-place or a rough, jagged .fillPoly() with background color to clear it and then re-draw it - to avoid to have to clear and re-draw the whole display... but first, it has to useable and work decently with just drawing lines for slim gauges and polygons for 'fat' ones.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@MaBe, heard about... --- Had some fun as you see in the next post. Since the
.fillPoly()
has some its limitations, I'm thinking to expand my CGauge.js prototype/'class' with a segmented.fillPoly()
for re-drawing in-place or a rough, jagged.fillPoly()
with background color to clear it and then re-draw it - to avoid to have to clear and re-draw the whole display... but first, it has to useable and work decently with just drawing lines for slim gauges and polygons for 'fat' ones.