Answers for "how to make a box in p5js"

0

how to make a box in p5js

// you have to get a library known as p5js for this :)
function setup() {
	createCanvas(500,500,WEBGL);
}

function draw() {
 box(50); // you can write any size instead of 50 
}
Posted by: Guest on October-26-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language