#つぶやきProcessing 2020年7月まとめ 2020 10/25 projectroom Processing つぶやきProcessing 2020年10月25日 7月は後半で「層を積み重ねる手法」を発見できて、表現の幅が広がりました。また、途中でビット計算も取り入れて作品を創ってみました。 float i,x=1,y=1,tx,C=4000000;size(1920,1080);clear();for(i=0;i<C*2;i++){stroke(i>C?0x10A0C0FF:0x0AC08040);tx=i>C?cos(x+y)/y*3*sin(y*sin(y)):cos(x*y)/y/.8;y=i>C?tan(y)-sin(x)/y:sin(x+y)+cos(x)/y;point((x=tx)*(i>C?200:200)+960,y*200+540);}#つぶやきProcessing #pchj02 @PCD_Tokyo https://t.co/vSvQju2oLg pic.twitter.com/kFUvJ6Z2f7— はぅ君 (@Hau_kun) July 1, 2020 float i,x=1,y=1,z=99,tx,ty;size(1920,1080);colorMode(HSB);clear();for(i=0;i<9000000;i++){ tx=cos(x*y)/y+cos(x)*.3; ty=sin(x)+cos(y)+sin(z)*.3; z=sin((x+y-tan(z))/9); stroke((z*255+255)%255,255,255,8); point((x=tx)*300+960,(y=ty)*300+540);}#つぶやきProcessing pic.twitter.com/Qld1PMSMB9— はぅ君 (@Hau_kun) July 2, 2020 int t,r,d;void setup(){size(720,720);noFill();colorMode(HSB);}void draw(){ clear(); t++; for(d=0;d<115;d++) for(r=0;r<628;r++) if(abs(((d+r+t)%510)-255)+(~d+~r)%255>(d^r)%255){ stroke((d^r+t)%255,255,255); arc(360,360,d*9,d*9,r*.01,r*.01+.01); }}#つぶやきProcessing pic.twitter.com/u6Jd4tfXUs— はぅ君 (@Hau_kun) July 3, 2020 float x=1,y=1,tx,ty,i,a,d,S;size(1920,1080);colorMode(HSB,99);clear();for(i=0;i<300;i+=.0001){stroke(((tx=cos(x-i+tan(i))-tan(x)*sin(x))+sin(ty=sin(x*y+i))*99+99)%99,99,99,48);point(tan((a=atan2(y=ty,x=tx))+i)*(S=sin(a+i))*(d=mag(x,y))*300+960,S*d*300+540);}#つぶやきProcessing pic.twitter.com/khINRRuxIu— はぅ君 (@Hau_kun) July 4, 2020 float r,d;size(1920,1080);colorMode(HSB);blendMode(ADD);noStroke();clear();for(d=999;d>0;d-=3){fill((d/3)%255,128,255,64);beginShape(TRIANGLE_STRIP);for(r=d;r<=TAU+d;r+=PI/32)vertex(cos(r)*(d+noise(r,d)*d)+960,sin(r)*(d+noise(r,d)*d)+540);endShape();}#つぶやきProcessing pic.twitter.com/R6UqZu7b8D— はぅ君 (@Hau_kun) July 5, 2020 float t,d,r,D;void setup(){size(720,720);noStroke();colorMode(HSB);}void draw(){clear();t+=.01;for(d=30;d<720;d+=30)for(r=0;r<TAU;r+=PI/d){fill((d/3+r*40)%255,192,255,32);circle(cos(r)*(D=d+sin(d/2+r*5+t)*30)+360,sin(r)*D+360,pow(sin(d+t),4)*40);}}#つぶやきProcessing pic.twitter.com/keoQHMi62u— はぅ君 (@Hau_kun) July 6, 2020 float x,y,t,a,S;void setup(){size(720,720);colorMode(HSB);noStroke();}void draw(){t+=.005;for(y=0;y<800;y+=80)for(x=0;x<800;x+=80){fill(((S=pow(sin((t+(a=(x*2+y)/80))*2),9)*40)+x+y)%255,160,255,64);square(x+((t+a)%TAU<PI?S:-S),y+((t+a)%TAU>PI?S:-S),S*2);}}#つぶやきProcessing pic.twitter.com/PBt00Fdbrk— はぅ君 (@Hau_kun) July 7, 2020 int x,y,t,T,C,X,Y;void setup(){size(720,720);}void draw(){ clear(); scale(6); T=(++t)/6; for(y=0;y<120;y++) for(x=0;x<120;x++){ stroke(((((X=x%64)%(T/64+1)))^(X^(Y=y%64))^((Y%(T/64+3))))>T%64?(C=(T%128)/64-1):C*C-1); point(x,y); }}#つぶやきProcessing pic.twitter.com/LVZiPLJJUq— はぅ君 (@Hau_kun) July 8, 2020 int[][]p=new int[4096][2];int i,t,N;void setup(){size(720,720);noStroke();}void draw(){ clear(); N=++t/90+9; for(i=0;i<4096;i++) square(p[i][0]-=(p[i][0]-((i%64+i/N)%64)*12)*.1,p[i][1]-=(p[i][1]-((i/64+i/N)%64)*12)*.1,6);}#つぶやきProcessing pic.twitter.com/UDY4ALfBEN— はぅ君 (@Hau_kun) July 9, 2020 int t,T,x,y;void setup(){size(720,720);noStroke();rectMode(CENTER);}void draw(){ clear(); T=(t++/60)%96; for(y=0;y<241;y++){ for(x=0;x<241;x++){ square(x*3,y*3,((((int(abs(120-x))&int(abs(120-y)))^T)%95))>T?abs(30-t%60)/10:3); } }}#つぶやきProcessing pic.twitter.com/I8pMujAGkX— はぅ君 (@Hau_kun) July 10, 2020 void setup(){size(720,720);clear();stroke(-1,160);for(float r=0;r<8;r++)f(360,360,r*PI/4,99);}void f(float x,float y,float a,float d){if(d>6){for(float r=0;r<2;r+=PI/2){line(x,y,x+=cos(r+a)*d,y+=sin(r+a)*d);f(x,y,r+a,d*.7);circle(x,y,2);}}}#つぶやきProcessing pic.twitter.com/03UIB3wcYx— はぅ君 (@Hau_kun) July 11, 2020 https://twitter.com/Hau_kun/status/1282199965066911745 int i,t,H=720;void setup(){size(720,720);noStroke();}void draw(){ if((t++%120)<1){ clear(); for(i=-4;i<random(4);i++) bezier(random(H),random(H),random(H),random(H),random(H),random(H),random(H),random(H)); copy(0,0,360,H,H,0,-360,H); }}#つぶやきProcessing pic.twitter.com/mVmbeqtfqb— はぅ君 (@Hau_kun) July 12, 2020 int x,y,a,i=0;size(1920,1080);background(32,72,128);noStroke();for(;i<6;i++){ fill(i==0?0xFFA0C0C0:0x40E0FFFF); for(y=i==0?0:15;y<1080;y+=60) for(x=i==0?0:15;x<1920;x+=60) if(i==0||random(1)<i*.15) rect(x,y,30+(a=int(random(2))*30),30+(a>1?0:30));}#つぶやきProcessing pic.twitter.com/1ZGRWzTwzI— はぅ君 (@Hau_kun) July 12, 2020 int t;void setup(){size(720,720);}void draw(){ clear(); t++; float x=357,y=357,d=0,r=0,c=1,T=t/20; for(int i=0;i<121*121;i++){ fill((i*i/T)%255); square(x+=cos(d+=–r<0?PI/2+(r=int(i/int(c+=.5)))*0:0)*6,y+=sin(d)*6,6); }}#つぶやきProcessing pic.twitter.com/d2uzJOvlvL— はぅ君 (@Hau_kun) July 13, 2020 int t,i;void setup(){size(720,720);noStroke();}void draw(){t++;float x=359,y=359,d=0,r=0,c=1;for(i=0;i<130321;i++){fill(int((r/c+i*.00001+t*.01)*255)&(int(i*.005+t*.5)%255));square(x+=cos(d+=–r<0?TAU/5+(r=int(i/int(c+=.5)))*0:0)*2,y+=sin(d)*2,4);}}#つぶやきProcessing pic.twitter.com/fWsiSISDNW— はぅ君 (@Hau_kun) July 14, 2020 int t,i;void setup(){size(720,720);noStroke();}void draw(){t++;float x=359,y=359,d=t*.01,r=0,c=1;for(i=0;i<130321;i++){fill(int(d/TAU+t+(d/r)*9)%255^int(i*.01+t*.2)%255);square(x+=cos(d+=–r<0?TAU/6+(r=int(i/int(c+=.5)))*0:0)*2,y+=sin(d)*2,5);}}#つぶやきProcessing pic.twitter.com/X60NsBuJCJ— はぅ君 (@Hau_kun) July 15, 2020 https://twitter.com/Hau_kun/status/1283739541426192384 float x,y,d,R,t,D,P=PI/4;void setup(){size(720,720);fill(96,255,160);}void draw(){clear();t+=.02;for(x=0;x<780;x+=60)for(y=0;y<720;y++)for(d=P;d<(y%9==0?PI*.8:0);d+=P)arc(sin(R=(x/60*PI+y*.05))*20+x,y,25,25,(D=sin(R-PI/2+t+(x+y)*.01)*.5+d)-P/4,D+P/4);}#つぶやきProcessing pic.twitter.com/7lWR30LUcE— はぅ君 (@Hau_kun) July 18, 2020 float t,x,y,r,N;void setup(){size(720,720);noStroke();}void draw(){clear();t+=.003;for(y=0;y<780;y+=60)for(x=0;x<780;x+=60)for(r=0;r<TAU;r+=PI/16){fill(-1,cos(r*8)*255);circle(cos(r+(N=noise(x,y,int(t/PI*4))>.5?sin(t*2)*PI/4:0))*60+x,sin(r+N)*60+y,18);}}#つぶやきProcessing pic.twitter.com/4EIKdgK4bh— はぅ君 (@Hau_kun) July 19, 2020 int x,y,t,a;void setup(){size(720,720);noStroke();}void draw(){ t++; for(y=-22;y<23;y++){ for(x=-22;x<23;x++){ fill(f(0),f(5),f(9),4); square((x+22)*16,(y+22)*16,16); } }}int f(int i){return (a=abs(x)+abs(y))%int(1+noise(a,int(t/99),i)*9)*25;}#つぶやきProcessing pic.twitter.com/MzA4O1YU6v— はぅ君 (@Hau_kun) July 20, 2020 float x,y,d,t;void setup(){size(720,720);colorMode(HSB);}void draw(){ clear(); t+=.01; noStroke(); for(d=90;d>0;d-=3) for(y=0;y<800;y+=80) for(x=0;x<800;x+=80){ fill((2*x+3*y)%255,255,d*3); circle(x+cos(x+y+t)*d/3,y+sin(x+y-t)*d/3,d); }}#つぶやきProcessing pic.twitter.com/GINgP77hb1— はぅ君 (@Hau_kun) July 21, 2020 float t,d,x,y,E=360;void setup(){size(720,720);noStroke();colorMode(HSB);}void draw(){clear();t+=.01;for(d=90;d>0;d-=3)for(y=-E;y<=E;y+=60)for(x=-E;x<=E;x+=60){ fill((x*x+y*y)%255,192,255-d*3); circle(x+cos(x*y*4+t)*d/3+E,y+sin(x*y*4+t)*d/3+E,d);}}#つぶやきProcessing pic.twitter.com/hTUNvgiKRD— はぅ君 (@Hau_kun) July 22, 2020 float t,d,l,x;void setup(){size(720,720);noStroke();colorMode(HSB);}void draw(){ clear(); t+=.001; for(d=90;d>0;d-=3){ for(l=30;l<230;l+=99){ for(x=0;x<760;x+=15){ fill((x+l)%255,255-d*2,d*3); circle(x,1/sin(x+t+l)*l+360,d); } } }}#つぶやきProcessing pic.twitter.com/EycyHOh5sS— はぅ君 (@Hau_kun) July 23, 2020 float t,r,d,S;void setup(){size(720,720);noStroke();colorMode(HSB);}void draw(){clear();blendMode(ADD);t+=.01;for(d=120;d>0;d-=3)for(r=0;r<TAU*9;r+=.5){fill((r*r)%255,d*2,255-d*2,16);circle(cos(r)*r*9*(S=sin(r*r+t))+360,sin(r)*r*9*S+360,d);}}#つぶやきProcessing pic.twitter.com/nW0Y52stUQ— はぅ君 (@Hau_kun) July 24, 2020 float t,d,x,T;void setup(){size(720,720);noStroke();colorMode(HSB);}void draw(){clear();t+=.003;for(d=90;d>0;d-=3){ for(x=0;x<730;x+=9){ fill((x*x)%255,255-d*2,d*3); ellipse(x,.5*tan(T=2*x+t)*9+150,d*(abs(cos(T))*.8+.2),d*(sq(sin(T))*.2+.8)); }}}#つぶやきProcessing pic.twitter.com/J5OjtleH6I— はぅ君 (@Hau_kun) July 25, 2020 float t,r,d,T;void setup(){size(720,720);noStroke();colorMode(HSB);}void draw(){ clear(); t-=.004; for(d=90;d>0;d-=3){ for(r=0;r<720;r+=10){ fill(r%255,d*3,255-d*2,255-d*2); circle(cos(r*4+t+d*.002)*300+360,sin(r*3+t+d*.002)*300+360,d); } }}#つぶやきProcessing pic.twitter.com/FIu8vr8coj— はぅ君 (@Hau_kun) July 26, 2020 float r,t,d;void setup(){size(720,720);noStroke();colorMode(HSB);}void draw(){ clear(); t+=.005; for(d=90;d>0;d-=3) for(r=-TAU*9;r<TAU*9;r+=.3){ fill((r*r*5)%255,d*3,255-d*2,8/tan(r+t)); circle(tan(r*r+t)*r*9+360,sin(r*r-t)*r*9+360,d*tan(r+t)); }}#つぶやきProcessing pic.twitter.com/q0G6XpH5CZ— はぅ君 (@Hau_kun) July 27, 2020 float d,r,t,R,L;void setup(){size(720,720);noStroke();colorMode(HSB);}void draw(){clear();t+=.01;for(d=90;d>0;d-=3)for(r=0;r<TAU;r+=PI/16){ fill(r*40,255-d*2,d*3); circle(cos(R=r-d*(sin(3*r+5*t)*.005))*(L=250+sin(5*r+3*t)*50)+360,sin(R)*L+360,d);}}#つぶやきProcessing pic.twitter.com/I5t0r0YQo8— はぅ君 (@Hau_kun) July 28, 2020 float t,x,y,d;void setup(){size(720,720);noStroke();colorMode(HSB);}void draw(){t+=.004;for(d=90;d>0;d-=3)for(y=0;y<760;y+=40)for(x=y/40%2*20;x<760;x+=40){fill((x+y)%255,d*3,255-d*3);circle(x+noise(x+y,d*.01,t)*99-50,y+noise(d*.01,x*y,t)*99-50,d);}}#つぶやきProcessing pic.twitter.com/iGBcqEJW28— はぅ君 (@Hau_kun) July 29, 2020 float x,y,d,t;void setup(){size(720,720);noStroke();colorMode(HSB);}void draw(){ clear(); t+=.004; for(d=90;d>0;d-=3) for(y=0;y<770;y+=50) for(x=y/50%2*30;x<780;x+=60){ fill((x+y)%255,d*3,sin(x*y+t*3)*255-d*2); circle(x,y,2*d*sin(x*y-t)); }}#つぶやきProcessing pic.twitter.com/upOcy60dH8— はぅ君 (@Hau_kun) July 30, 2020 関連 projectroom Processing つぶやきProcessing URLをコピーしました! コメント コメントする コメントをキャンセルコメント ※ 名前 ※ メール ※ サイト 新しいコメントをメールで通知 新しい投稿をメールで受け取る Δ このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください。
コメント