つぶやきProcessing (2024/12/21)
https://gyazo.com/8c51d33adab00d8d6112d33a2e6cf286 https://gyazo.com/0f2eda57819ae48bec9d01e570e78672 https://gyazo.com/92b8242f877fbe612159dab044e400a7
https://scrapbox.io/files/6766c867852a7a193d4367e2.mp4
P3Dは使ってないけどそれなりに立体感が出た。
code:processing
//#つぶやきProcessing
float i, j, t;
void setup() {
size(800, 800);
}
void draw() {
for (i=0; i<800; i++) {
stroke(t, t, t+128-i*.5);
line(0, i, 800, i);
}
for (j=200; j<850; j++) {
for (i=0; i<800; i++) {
stroke(-1, t+128-dist(i, j, 400, 500)/3);
point(i, j+50*sin(TAU*noise(i*.01, j*.01, t/500)));
}
}
t++;
}