@mocanvas/mocanvas · constant
declare const STAR_INNER_RATIO = 0.5Inner radius of the five-pointed star, as a fraction of the outer radius. Measured off a reference render (interior-IoU and outline least-squares fits of the same star both put it at 0.51 ± 0.02, calibrated against a render of known ratio); a plain half reads the same to well under a pixel at any sensible size. A smaller ratio makes the arms too thin.
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.