Interface 11
Sun Jan 07 2024 18:30:10 GMT+0000 (Coordinated Universal Time)
Saved by
@马丽
function setup() {
createCanvas(400, 400);
background(220);
}
function draw() {
// Nothing to draw continuously in this example
}
function mousePressed() {
fill(random(255), random(255), random(255)); // Random fill color
noStroke(); // No stroke for shapes
ellipse(mouseX, mouseY, 20, 20); // Draw ellipse at mouse position
}
content_copyCOPY
Comments