Create single line SVG illustrations from your pictures.
Thanks @sableRaph for helping me create those. Using an AxiDraw.
axidraw-pintr.mp4
This is an exported SVG animated using Vivus.
- The image is normalized for brightness and transformed to grayscale. See canvasDataToGrayscale.
- A point in the canvas is selected and a line starts looking for different paths to draw next. See scan functions
- Lines are batched to be drawn and get flushed almost every frame.
- Results are exported as svg as a very simple
polyline
, see generateSvg.
Pixel data and resizing were made using canvas-image-utils
, better face definition using face-api
.