xxxxxxxxxx
// #つぶやきProcessing t=f=0,draw=(n=>{for(f++||(createCanvas(800,600),noFill(),strokeWeight(.2)),t+=.01,background(""),f=.01,i=628;i--;)arc(400+160*sin(t+i*f),300+160*cos(t+i*f),a=90+87*sin(19.7*sin(t)*sin(i*f)),a,0,6.28)});
t = f = l = 0;
draw =_=> {
scale(1.2)
f++ || (createCanvas(w=4*windowHeight/3, h=windowHeight), noFill(),strokeWeight(0.2));
colorMode(HSB,255);
t += 0.01;
background(255, 100);
f = 0.01;
for (i = 628; i--; ){
stroke(i/1.5, 255, 255);
arc(
w/2.3 + 160 * sin(t + i * f),
h/2.3 + 160 * cos(t + i * f),
a=90 + 87 * sin(9.7* sin(t) * sin(i * f)),
a,
0,
6.28
);
}
};
mousePressed=()=>{if (millis()-l>400){save('pix.jpg');l=millis();}}