void setup() { size(400, 400); background(0); stroke(255); smooth(); } void draw() { if (mousePressed) { ellipse(mouseX, mouseY, 10, 10); } }