@mocanvas/mocanvas · type
type GeoSnapType = "polygon" | "blobby"How other shapes snap to this silhouette.
"polygon" snaps to the outline's own vertices and edge midpoints — right
for anything with corners. "blobby" ignores the outline and snaps to the
bounding box, which is what a cloud or a heart wants: its vertices are
artefacts of the curve fit and mean nothing to the person drawing.
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.