void setup(){ size (600,600); frameRate(30); }float e =0; void draw(){ background(10); smooth(4); e+=0.0041; fill(0,0,250); for(float x =100 ; x<400;x+=0.1){ //rect(100+(width/9),(15*cos((sin(e))*PI*100/20)+10)+(height/2),10,10); stroke(250,250,250); point(sin(x-3*x*atan(e*10*x/x*0.5*8)*PI/100)*x+250,tan(PI*105*(sin(x*3*x-1*x+3*x/0.5)*PI*x/100-x)+10)+(height/2)); //rect(400+(width/9),(15*cos((sin(e))*PI*400/20)+10)+(height/2),10,10); } save("diagonal"+ frameCount+".bmp"); }










