SVG to p5.js Path Converter
Drag and drop an SVG file from Adobe Illustrator. Supported elements (<path>, <line>, <polyline>, <polygon>, <rect>, <circle>, and <ellipse>) will be converted to p5.js code.
Vector Format:
Vec (custom class)
createVector (p5.js)
Processing (Java)
Processing Vector:
PVector
toxiclibs Vec2D
Language:
JavaScript
TypeScript
Sort Shapes:
By primitive type
By SVG order
Function Prefix:
Use p5 instance mode
Coordinate Multiplier:
Decimal Precision:
Show coordinate text in previews
📁 Drag & drop SVG file here or click to browse