Skip to content

Latest commit

 

History

History
104 lines (52 loc) · 5.15 KB

File metadata and controls

104 lines (52 loc) · 5.15 KB

Index of p5.plotSvg Examples

These examples show how to generate plotter-friendly SVGs from p5.js using p5.plotSvg. All examples are mirrored in collections at editor.p5js.org and openProcessing.org.


Full demonstration of all p5.js drawing primitives exported to SVG.
here • @editor@openProcessing

plotSvg_smorgasbord


Simplest possible demo, in "static" mode; all art is in setup() only.
here • @editor@openProcessing

plotSvg_hello_static


Simple demo; uses setup(), draw() and a keypress to capture an SVG during animation.
here • @editor@openProcessing

plotSvg_hello_animating


Simple "generative artwork"; press a button to export.
here • @editor • @openProcessing

plotSvg_generative


Records a series of marks drawn by the user.
here@editor@openProcessing

plotSvg_drawing_recorder


Accumulates the traces of some particles over time.
here • @editor@openProcessing

plotSvg_particle_paths


A trick for exporting hatched ("filled") SVG shapes.
here@editor@openProcessing

plotSvg_hatched_shapes


Using p5.plotSvg in p5's instance mode.
here@editor

plotSvg_instancemode


Merge groups of paths computed at different times. Demonstrates per-color "layers".
here@editor • @openProcessing

post_grouping.png


Intended for simple typography needs, this demonstration program uses an inlined sens-serif Hershey font. No external files are loaded.
here@editor

inline_hershey_text_sm.png


Load and incorporate monoline SVG fonts into your exported designs. (For a large archive of monoline typefaces, see this repository.)
here@editor • @openProcessing

svg_font_text_sm.png


Exports a tiny flipbook recording from a face-tracker.
here@openProcessing

plotSvg_face_flipbook