つぶやきProcessing (2024/12/17)
https://gyazo.com/2d4d3cfc9d3b93ad185f725e78e962a7 https://gyazo.com/4ee5a9e2e097fef3f982cecf4101c12e https://gyazo.com/65b7e83c1869028aab1c764cf00933eb
https://scrapbox.io/files/676042a2025958f0e44bd1e6.mp4
code:processing
//#つぶやきProcessing
float r, p, a, b, t, n, d;
void setup() {
size(800, 800, P3D);
}
void draw() {
background(0);
stroke(-1, 99);
camera(999, 0, 0, 0, 0, 0, 0, 0, -1);
for (r=0; r<TAU; r+=.02)for (p=-PI; p<PI; p+=.02)point(d*sin(a=r+(n=sin(t)*5*noise(r, p, t)))*sin(b=p+n), d*cos(a)*sin(b), d*cos(b));
t+=.01;
d++;
}