Shapes and tools · ShapeUtil · DOM body

A shape of your own

A counter shape with a DOM body and its own props. Thirty lines: a ShapeUtil with geometry, a component, and an indicator.

components/examples/CustomShapeExample.tsx

Starting the WebAssembly engine…

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.