Basically it's expected at the moment because the poly fill algorithm works on a scanline basis and so only handles regular polygons.
It's something I plan to improve at some point soon though - it'll likely decrease the rendering speed slightly but it definitely seems like a worthwhile addition.
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.
Hi! I believe you just hit this: https://github.com/espruino/Espruino/issues/1710
Basically it's expected at the moment because the poly fill algorithm works on a scanline basis and so only handles regular polygons.
It's something I plan to improve at some point soon though - it'll likely decrease the rendering speed slightly but it definitely seems like a worthwhile addition.