UNPKG

p5.js-svg

Version:

The main goal of p5.SVG is to provide a SVG runtime for p5.js, so that we can draw using p5's powerful API in \<svg\>, save things to svg file and manipulating existing SVG file without rasterization.

10 lines (9 loc) 237 B
<!doctype html> <head> <meta charset="UTF-8"> <script src="https://unpkg.com/p5@1.11.3/lib/p5.js"></script> <script src="https://unpkg.com/p5.js-svg@1.2.0"></script> </head> <body> <script src="main.js"></script> </body>