つぶやきProcessing (2026/6/7)
https://gyazo.com/727bdd08f34064e9db01b8d26716bcc4 https://gyazo.com/a5865dcc47171a2232370b3368e5d025 https://gyazo.com/9fc5cdd49a829148c600d13d429453b7
https://scrapbox.io/files/6a24ee27601c8b4efdce0ab7.mp4
code:processing
//#つぶやきProcessing
float t;
void setup() {
size(800, 800);
}
void draw() {
background(-1);
colorMode(3);
a(400, 400, 200);
t+=.01;
}
void a(float x, float y, float d) {
if (d>9) {
fill(d*t%256, 255, 255, d);
circle(x, y, d);
for (float r=0; r<TAU; r+=PI*25/d)a(d*sin(r)+x, d*cos(r)+y, d/(3+cos(t)));
}
}