SVG

load_shape()

p5.load_shape(filename)

Loads the given .svg file and converts it into PShape object.

param filename:link to .svg file

shape()

p5.shape(shape, x=0, y=0)

Draws shapes to the display window

param shape:shape object
Parameters:y (float) – y-coordinate of the shape