The simple code used to create the paint program with p5.js:
function setup() {
createCanvas(windowWidth, windowHeight);
}
createCanvas(windowWidth, windowHeight);
}
function draw() {
ellipse(mouseX, mouseY, 100, 100);
}
ellipse(mouseX, mouseY, 100, 100);
}