Skip to content

Commit

Permalink
{{°.><.°}}
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaudry committed Oct 20, 2023
1 parent 46f225e commit 787998f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions penplotting/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,11 @@ and use the 'SVG' argument when creating the p5 canvas
```
createCanvas(w, h, SVG);
```
More documentation at [https://github.com/zenozeng/p5.js-svg](https://github.com/zenozeng/p5.js-svg). For example, see [plottable001](https://github.com/bbaudry/swart-studio/blob/main/penplotting/plottable001.html)
The sketch in [plottable001.html](https://github.com/bbaudry/swart-studio/blob/main/penplotting/plottable001.html) illustrates the usafe of [p5.js-svg](https://github.com/zenozeng/p5.js-svg), and you can find more documentation at [https://github.com/zenozeng/p5.js-svg](https://github.com/zenozeng/p5.js-svg).

Once you are happy with your sketch, save it as an svg.
* Transform the svg to gcode with [Juicy-GCode](https://github.com/domoszlai/juicy-gcode). Check out the flavor.txt configuration file to fine-tune the generation of the gcode. Put the generated gcode in a file, for example sketch.gcode
* Use [gcode-cli](https://github.com/hzeller/gcode-cli) to draw the sketch on the pen plotter, for example ```g-code-cli sketch.gcode```
Once you are happy with your sketch, save it as an svg, for example [```pointille.svg```](https://github.com/bbaudry/swart-studio/blob/main/penplotting/pointille.svg).
* Transform the svg to gcode with [Juicy-GCode](https://github.com/domoszlai/juicy-gcode). Check out the flavor.txt configuration file to fine-tune the generation of the gcode. Put the generated gcode in a file, for example pointille.gcode
* Use [gcode-cli](https://github.com/hzeller/gcode-cli) to draw the sketch on the pen plotter, for example ```g-code-cli pointille.gcode```


## Notes
Expand Down

0 comments on commit 787998f

Please sign in to comment.