@mocanvas/mocanvas · constant

NOTE_GRADIENT_TOP_SCALE

declare const NOTE_GRADIENT_TOP_SCALE = 0.9785

A note body is not flat. It runs from a slightly deeper tint at the top to the palette's note.fill at the bottom — #f7dc99 → #fce19c for the default yellow, i.e. the fill scaled by this factor channel-wise, which is the ratio measured off the reference render and holds for every hue.

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.