つぶやきProcessing (2025/10/27)
https://gyazo.com/c1bbe9b36661cb966df4010747b069ee https://gyazo.com/677feb442872988d3afb29c5c23697af https://gyazo.com/65653b76945cbd20162e59c4330af5e5
https://scrapbox.io/files/68ff750caeab64cdbac4c7b0.mp4
なるべくシンプルな煙を。
こういうのをProcessingで作るのはちょっと無理がある気がしないでもないけど、とりあえずやってみた。
code:processing
//#つぶやきProcessing
float z, t;
void setup() {
size(800, 800, P3D);
}
void draw() {
background(0);
noStroke();
camera(0, 900, 999, 0, 0, 400, 0, 0, -1);
fill(#FF0000);
sphere(99);
for (z=0; z<999; z+=9) {
fill(-1, 9);
translate(0, 0, 9);
circle(0, 0, 500*noise(z/999-t)*sin(z/999*PI));
}
t+=.01;
}