Layers · tools · one pen change
Two pens
Every layer names its pen. The engine draws everything for the black fineliner first, then lifts, holds the motors and waits for you to put in the red brush pen. One stop, no guessing which line was which. If you take the plan to another machine instead, HPGL gets pen 1 and pen 2 and the SVG keeps a group per pen.
composition.js
// loading composition.js …
sketch.js
// loading sketch.js …
- Paths
- —
- Pens
- —
- Draw
- —
- Estimate
- —
Copy index.html
This complete page draws the example on screen and offers an SVG file. Save it as index.html and open it through localhost or HTTPS.
Loading index.html...
Open the single-file example