foggy-prism-j1z

shinyaoguri更新 2026/11/23 23:52Gist同期中

コード

function setup() {
  createCanvas(windowWidth, windowHeight);
}

function draw() {
  background(20);
  noStroke();
  fill(255, 120, 160);
  circle(width / 2, height / 2, 120 + sin(frameCount * 0.05) * 40);
}

function windowResized() {
  resizeCanvas(windowWidth, windowHeight);
}