爆発 (2025/11/13)
https://gyazo.com/b1c8f9f7bdb2257a2e4da35771e6d881 https://gyazo.com/ff4d2082b1c4a3f121288042f82750ef https://gyazo.com/2f9041cd320a1d2f769d20fab4e8b80b
https://scrapbox.io/files/6915efd855dd37e745344b64.mp4
https://x.com/hisadan/status/1988982004944454005
https://x.com/hisadan/status/1988982007008047284
以前作った つぶやきProcessing (2024/6/17) を小改造。
code:processing
//#Processing
float r, i, a, b, t, x, y, n, p;
void setup() {
size(800, 800, P3D);
}
void draw() {
background(0);
camera(0, 0, 300, 600, 400, 0, 0, 0, -1);
for (x=0; x<800; x++)for (y=0; y<800; y++) {
r=i=0;
a=x/200-3;
b=y/200-1.5;
n=0;
while ((r*r+i*i<9)&&n++<256) {
t=r*r-i*i+a;
i=2*r*i+b;
r=t;
}
stroke(r*n*5);
point(x, y, p*r*n/99);
}
p++;
}