function setup() {
createCanvas(300, 300);
background(240);
}
function draw() {
var radius = 1/3*width;
fill("lightblue");
noStroke();
ellipse(width/2, height/2, radius, radius);
}
[OLD FALL 2017] 15-104 • Introduction to Computing for Creative Practice
Professor Roger B. Dannenberg • Fall 2017 • Introduction to Computing for Creative Practice
function setup() {
createCanvas(300, 300);
background(240);
}
function draw() {
var radius = 1/3*width;
fill("lightblue");
noStroke();
ellipse(width/2, height/2, radius, radius);
}