Updated the example and code. Dimensions are now all absolute and not some scaled, and scaling is included in vertices. So different vertices can be provided as needed render nicely larger and more efficient smaller 'circles'/'discs'.
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.
Updated the example and code. Dimensions are now all absolute and not some scaled, and scaling is included in vertices. So different vertices can be provided as needed render nicely larger and more efficient smaller 'circles'/'discs'.