青リンゴの幻影 (2024/11/13)
https://gyazo.com/50ee481a4ba88e06381dce5111e0e23f https://gyazo.com/e1aabf4086280937e2caa1e82b9a1d49 https://gyazo.com/41cfa6005c13408d2571542f9ed34b2f
https://scrapbox.io/files/673373932111c48b98fa1f0e.mp4
code:processing
//#Processing
float p, r, d, t;
void setup() {
size(800, 800, P3D);
}
void draw() {
background(-1);
strokeWeight(9);
camera(0, 999, 900, 0, 0, 99, 0, 0, -1);
d=.5+.49*sin(t*20);
for (p=0; p<PI; p+=d)for (r=0; r<TAU; r+=d) {
stroke(p*70, 255-p*99, 70);
point(500*sin(r)*sin(p), 500*cos(r)*sin(p), 250*(sin(p*2)+cos(4*p*sin(t)))+p*99);
}
t+=.001;
}