xxxxxxxxxx
23
let size = 150
function setup() {
createCanvas(windowWidth, windowHeight); //these system variables will make sure my canvas is the size of whatever screen the project is opened.
background(0,0,200);
}
function draw() {
fill(255)
textSize(70)
text("We will explore different programming languages!",10,10, windowWidth)
noStroke()
ellipse(mouseX,mouseY,100,100)
if(mouseIsPressed){
background(0,0,200)
text("And develop small projects!",10,10, windowWidth)
}
}