@mocanvas/mocanvas · interface
interface DrawPathBuilderDOptsThe inputs PathBuilder.toDrawD needs to reproduce one hand-drawn pass.
Properties · 4
offset?: numberHow far a point may wander, in stroke widths.
passes?: numberHow many overlapping passes to draw; two reads as a pen gone over twice.
randomSeed: stringSeeds the jitter, so the same path redraws identically between frames.
roundness?: numberHow much to round the corners between segments.
Mentioned here
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.