Sign

Drawing needs a pointer. Without one, load the example or import a file.

Import a CSV of x,y (and t in milliseconds, pressure), a JSON list of strokes, or an SVG of pen paths.

Corrected

Sign on the pad, or load the example, to see it corrected here.

Brush

Paint along part of the signature to smooth it more or less than the rest.

No brushed regions.

Download

Smoothing

Overall smoothing evens out each whole stroke; the default level is 1. Local smoothing removes small wobbles, and the brush scales it along the signature. It shows the share of the stroke's detail that is kept.

More smoothing settings

Pen width

More width settings

Morph

Turn the corrected signature into a second one.

No second signature yet.

Choose wavelet coefficients, Fourier-smoothed strokes or the corrected strokes for interpolation. Loops swell the wavelet details half-way.

Add a second signature to morph into.

    How this works

    Undo pad edits with Cmd/Ctrl+Z; redo with Cmd/Ctrl+Shift+Z. When drawing a morph target, these shortcuts act on that pad. Text fields keep their usual text undo.

    1. Strokes. Each stroke is resampled at equal steps along its length, so the smoothing does not depend on how often the device reported the pen.
    2. Overall smoothing. Each stroke, mirrored at its end so it has no jump, is taken apart into frequencies, and the weakest are dropped (Fourier hard thresholding).
    3. Local smoothing. The stroke's wavelet coefficients (the maximal-overlap discrete wavelet transform) are soft-thresholded. A wavelet coefficient describes one stretch of the stroke at one scale, so the brush can raise or lower the threshold along the stroke.
    4. Width. A pen leaves more ink where it moves slowly. With timing, the speed is how far the pen moved between the device's reports, smoothed along the stroke, and steadied by the stroke's shape. Without timing, the speed comes from the shape alone. People speed up on straight runs and slow down in tight turns: the two-thirds power law, under which speed goes as curvature to the power −1/3 (Lacquaniti, Terzuolo & Viviani 1983). The ends taper.
    5. Outline. An SVG line has one width, so each stroke becomes a filled outline, and the outlines are merged where they overlap. The PNG and SVG have no background.
    6. Morph. Both signatures are centred and brought to the same length of ink. Strokes are paired; a stroke the other signature lacks grows from the point where it crosses a paired one.

    The API provides the same smoothing, stroke-width and morph controls.

    Draw the second signature