xxxxxxxxxx
19
function setup() {
createCanvas(windowWidth, windowHeight);
noStroke();
}
function draw() {
translate(width / 2, height / 2);
// 背景色
background(0, 15, 63);
// 円の塗り色
fill(255, 127, 31, 160);
// 円を描く
circle(-50, -50, 250);
// 四角の塗り色
fill(31, 127, 255, 160);
// 四角を描く
rect(-50, -10, 280, 200);
}