Pen plotting: From a p5.js sketch to an AxiDraw drawing
- Concept, Design, Developer
- < $10,000
- Inkscape, Pen Plotter
A generative sketch of Bézier curves becomes a drawing when a pen plotter can follow it. This piece is that path: p5.js, Inkscape, G-code, and an AxiDraw v3.
The job
A p5.js sketch can fill a screen with curves. A plotter needs vectors, an order of strokes, and a machine that will follow them. The project was to take one Bézier sketch all the way to paper.
What we built
The sketch builds two closed shapes from anchors on a grid. Control points are random, then snapped to the same grid. The design is exported as vectors, edited in Inkscape, converted to G-code, previewed, and drawn on an AxiDraw v3.
Outcomes
The drawing on paper is the same geometry as the sketch, minus everything a pen cannot do. That constraint is the work.