function setup() {
createCanvas(200, 300);
background(1);
}
function draw() {
rect(width/2, height/2, 50, 50);
fill("red")
}
[OLD FALL 2019] 15-104 • Introduction to Computing for Creative Practice
Professor Roger B. Dannenberg • Fall 2019 • Introduction to Computing for Creative Practice
function setup() {
createCanvas(200, 300);
background(1);
}
function draw() {
rect(width/2, height/2, 50, 50);
fill("red")
}