Variables Overview Part 1
Click here to load this code in the P5JS Editor
Or Copy/Paste the code below into your own P5JS Editor
function setup() { createCanvas(600, 600);
drawBox(0, 0, 30, 500); // function call to drawBox}
function drawBox(a, b, c, d) { // Draw a rectangle using the given parameters. rect(a, b, c, d);}