94.hatenadiary.jp
このコードを改変して作った。
回線弱かったから上げ直した。
我ながらキモくてうっとりしちゃう。
float a = 0;
float n = 0.01;
void setup(){
size(500,500);
frameRate(30);
background(255);
translate(width/2,height/2);
int max = 200;
for(int i = 0; i < max;i++ ){
translate(0,1);
rotate(radians(a));
stroke(i);
strokeWeight(0.1);
fill(3*i,100,i);
triangle(-max + i,0, max - i,0,0,-max+i);
float noise = i /20.8;
a = map(noise(noise + n),0,1, -10,10);
}
n+=0.01;
}
void draw(){
setup();
}