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.

5 lines (4 loc) 155 B
import { P5SVG, P5, SVGElement, SVG, p5SVG } from './types'; declare function init(p5: P5): P5SVG; export default init; export { SVGElement, SVG, p5SVG };