This commit is contained in:
2024-11-01 09:38:00 +09:00
parent 6e9e275254
commit f96ae2ecdd

View File

@@ -1,8 +1,15 @@
function setup() {
createCanvas(400, 400);
createCanvas(400, 200);
background(220);
noLoop();
}
function draw() {
background(250,0,250);
ellipse(200, 200, 3, 80);
fill(128, 128, 0);
noStroke();
// ここで dia を 60 に設定する
circle(100, 100, dia);
circle(200, 100, dia);
circle(300, 100, dia);
}