Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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 
}
 
PREVIOUS NEXT
Tagged: #box
ADD COMMENT
Topic
Name
1+7 =