weasel API - v0.8.0
    Preparing search index...

    Function usePencilTool

    • Freehand pencil tool. The drag binding routes to insertAction, which accumulates the pointer trail and commits it as { kind: 'pencil', samples }. The kit's default insert dep runs schneiderFit over the samples to produce a cubic-Bezier path.

      Returns Tool<null>