Install the CLI tool globally:
npm install canvas-sketch-cli -g
Create a new folder and move into it:
mkdir my-plots && cd my-plots
Now run the following to generate a default pen plotter artwork and open it in the browser:
canvas-sketch penplot.js --new --template=penplot --open
In the browser, with the canvas in focus, hit Cmd + S or Ctrl + S to save 2 files: the PNG (for sharing on social media) and the SVG (for AxiDraw).
Now you can open the SVG in Inkscape and print it out with your AxiDraw plotter.
💡 You can see the source for the
penplot
template here.