Draw with a pointer or keyboard
Drag in the drawing area with a pointer, or use the arrow keys to move the keyboard cursor. Space starts a line, and Space again finishes it.
Draw with a pointer or keyboard and export transparent signature ink with a Three.js preview.
The guide
Draw in the browser with a mouse, touch, stylus or keyboard. Adjust the ink and stroke width, undo any completed stroke, and export the drawing on a transparent background. The drawing stays in the open tab.
A concrete input and expected output from the current implementation.
Input
Draw two strokes of your own mark. Undo the second one and choose Download PNG.
Expected output
The file contains the one remaining stroke on a transparent 1,000 × 330 image.
Undo removes the most recent completed stroke. The export captures only the strokes that remain.
Drag in the drawing area with a pointer, or use the arrow keys to move the keyboard cursor. Space starts a line, and Space again finishes it.
Set the six-digit hex color and stroke width before drawing. Undo stroke removes the latest completed line. Clear drawing empties the pad.
Download the PNG, or use Copy PNG if the browser allows image clipboard access. The Three.js preview shows the same ink over two example surfaces.
The canvas background helps you see your strokes. The PNG contains your drawn ink and transparent surrounding pixels.
Hold Shift while pressing an arrow key to move the cursor farther with each step.
The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.
Sent. Thank you.