In this video, I look at how to draw “custom” shapes in p5.js, using beginShape(), endShape(), vertex(), and curveVertex(). Special thanks to Rune Madsen’s Programming Design Systems!

Support this channel on Patreon:
To buy Coding Train merchandise:
To Support the Processing Foundation:

Send me your questions and coding challenges!:

The Coding Train website:

Links discussed in this video:
Polar to Cartesian:
Catmull-Rom on wikipedia:
Rune Madsen’s Programming Design Systems:

Source Code for the all Video Lessons:


For an Intro to Programming using p5.js:
For Coding Challenges:

Help us caption & translate this video!