Ends defining a mask that was started with beginClip().
background
Sets the color used for the background of the canvas.
beginClip
Starts defining a shape that will mask any shapes drawn afterward.
clear
Clears the pixels on the canvas.
clip
Defines a shape that will mask any shapes drawn afterward.
Looking for the old p5.js site? Find it here!