Inkline
A free tattoo stencil maker that runs in the browser
- Role
- Personal project
- Year
- 2026
- Built with
- TypeScript · React · ONNX Runtime Web
Overview
Inkline turns a photo into a tattoo stencil, entirely in the browser. There's no account and nothing is uploaded. You pick a style, clean up the lines with a brush and eraser, then print the stencil at true size or open it in a fullscreen Tattoo Mode.
Styles and editing
Five styles: Sketch AI (an on-device line-drawing model), Linework, Outline, Hatching and Dotwork. A pressure-sensitive brush and eraser, tap-to-remove for stray marks, and undo/redo handle cleanup. Tattoo Mode shows the stencil, the photo or an overlay fullscreen, with a wake lock so the screen stays on.
How it runs
The image pipeline runs in a Web Worker: guided filter, difference-of-Gaussians lines, hysteresis, thinning, and hatching or halftone. The ML styles run Informative Drawings and U²-Net small through onnxruntime-web, on WebGPU with a WASM fallback. It installs as a PWA, and models are cached after first use, so it works offline.
Export
True-size PDF on A4, Letter, A3 or Legal, tiled automatically across pages when the design is bigger than the paper. Also transparent PNG and JPG, up to 4K.
Tech Stack
- TypeScript
- React
- ONNX Runtime Web
- WebGPU
- Web Workers
- PWA