先月に引き続き半透明テクスチャーやerase()したテクスチャーを使って作品を創っていました。後半はshadowを使った表現に挑戦しました。
t=0
— はぅ君 (@Hau_kun) March 1, 2021
draw=_=>{t||createCanvas(720,720,WEBGL)+texture($=createGraphics(81,81).stroke(255).fill(0))+noStroke()
background(0)
t+=.001
$.background(0,9)
for(i=0;i<81;i++)$.rect(i%9*9,int(i/9)*9+t*500%9,9,4)
for(i=1;i<9;)rotateX(t)+rotateY(t)+torus(S=i*i*i++/2,S/5)}#つぶやきProcessing pic.twitter.com/GftXw1ybuX
t=0
— はぅ君 (@Hau_kun) March 2, 2021
F=()=>{for(j=0;j<9;j+=.05)for(X=Y=i=180;i<220;i+=.01)$.circle(X+=sin(noise(j,i/9)*TAU*9),Y+=cos(noise(j,i/9,9)*TAU*9),5)}
draw=_=>{t||createCanvas(720,720,WEBGL)+texture($=createGraphics(360,360)).noStroke()+F()
t+=.01
rotateX(t)+rotateY(t)+sphere(310)}#つぶやきProcessing pic.twitter.com/Nej7uNKSJb
t=0
— はぅ君 (@Hau_kun) March 3, 2021
draw=_=>{t||createCanvas(W=720,W,WEBGL)+texture($=createGraphics(112,112))+noStroke()
background(0)
t+=.002
$.background(W)
for(i=0;i<81;)$.erase().circle(i%9*16+(I=int(i++/9))%2*8-t*99%16,I*16,12)
for(i=1;i<9;)rotateX(t+i)+rotateY(t)+torus(i*i*i/2,i*i++)}#つぶやきProcessing pic.twitter.com/52YjlOufkH
t=0
— はぅ君 (@Hau_kun) March 4, 2021
draw=_=>{t||createCanvas(720,720,WEBGL)+texture($=createGraphics(99,99).colorMode(HSB))
background(0)
t+=.005
$.background(t*99%360,50,99,.1)
for(i=0;i<144;i++)$.erase().square(X=i%12*9,int(i/12)*8+X/9%2*5,6)
rotateX(t)
for(i=0;i<8;)rotateY(t)+box(i++**3)}#つぶやきProcessing pic.twitter.com/yylnOQ6FdO
t=0
— はぅ君 (@Hau_kun) March 5, 2021
draw=_=>{t||createCanvas(W=720,W,WEBGL)+texture(createGraphics(99,99).background(W).erase().circle(50,50,90))+noStroke()
background(0)
t+=.01
for(j=0;j<6;){push()
rotateZ(j+=PI/2)
for(i=0;i<9;i++)rotateX(t)+rotateZ(t)+translate(40,40,20).plane(50)
pop()}}#つぶやきProcessing pic.twitter.com/eZzgRJidoD
t=0
— はぅ君 (@Hau_kun) March 6, 2021
draw=_=>{t||createCanvas(W=720,W,WEBGL)+texture($=createGraphics(9,9))+noStroke()
clear()
$.background(j=12).erase(t+=.01).circle(sin(t)*5+4,4,9)
for(;j;){push()
rotateZ(j–+t)
for(i=0;i<9;)rotateX(t+i)+rotateY(t)+translate(20,20,i++**3)+sphere(40)
pop()}}#つぶやきProcessing pic.twitter.com/WnnnLM4Fra
t=0
— はぅ君 (@Hau_kun) March 7, 2021
draw=_=>{t||createCanvas(720,720,WEBGL)+texture($=createGraphics(99,99))+noStroke()
background(0)
t+=.003
$.background(255).erase().square(3,3,94).circle(50,50,sin(t)*50+80)
for(j=0;j<2;j+=.1){
j>1?rotateY(t):rotateX(t)
rotateZ(t)
plane(50+j*250)
}
}#つぶやきProcessing pic.twitter.com/jzmV7qhgdw
t=0
— はぅ君 (@Hau_kun) March 8, 2021
draw=_=>{t||createCanvas(720,720,WEBGL)+texture($=createGraphics(99,99).colorMode(HSB))+noStroke()
clear()
t+=.001
for(i=0;i<1;i+=.07)
rotateX(t)+rotateZ(t)+$.background(i*360,75,50,.9).erase().circle(50,50,120+sin((i+t)*9)*30)+box(i*360)
}#つぶやきProcessing pic.twitter.com/sCe4OWmWWr
t=0
— はぅ君 (@Hau_kun) March 10, 2021
draw=_=>{t||createCanvas(720,720,WEBGL)+texture($=createGraphics(99,99).background(0).erase().circle(50,50,90))
clear()
t+=.01
for(j=0;j<6;j++){
rotateZ(PI/3)+push()
for(i=1;i<9;i++)
+rotateX((j%2*2-1)*t)+rotateY(t)+translate(S=i*i*2,0)+box(S,S/3)
pop()}}#つぶやきProcessing pic.twitter.com/909L63swL6
t=0
— はぅ君 (@Hau_kun) March 11, 2021
draw=_=>{t||createCanvas(W=720,W,WEBGL)+texture($=createGraphics(99,99))+noStroke()
clear(S=48)
t+=.01
for(r=0;r<S;pop()){push($.background(i=0).erase().circle(sin(I=int(r++/8)+t)*S+S,S,99))
rotate(r*.8)
for(;i<2;i++)translate(S,0,tan(I+t)*W)+plane(S,80)}}#つぶやきProcessing pic.twitter.com/RXUdmHfqYg
t=0
— はぅ君 (@Hau_kun) March 13, 2021
draw=_=>{t||createCanvas(720,720,WEBGL)+texture($=createGraphics(50,50))+noStroke()
clear()
t+=.1
for(i=0;i<21;){$.background(0,99).erase().circle(S=sin(t+i++)*45+25,i*2,S)
for(r=0;r<8;pop())push()+rotate(r++*PI/4)+translate(169,0,tan(t/9+i)*999)+box(99)}}#つぶやきProcessing pic.twitter.com/77jKJbv7AE
t=0
— はぅ君 (@Hau_kun) March 14, 2021
draw=_=>{t||createCanvas(720,720,WEBGL)+texture(createGraphics(9,9).background(0).circle(5,5,9))+noStroke()
background(F=1)
t+=.005
for(r=0;r<16;r++)for(i=(F=-F);i<1;i+=.1)
push()+rotate((r*PI/8+t+i)*F)+rotateY(t+i+r*PI)+translate(i*500,0)+box(99,9)+pop()}#つぶやきProcessing pic.twitter.com/Lk02rxE5zi
t=0
— はぅ君 (@Hau_kun) March 15, 2021
draw=_=>{t||createCanvas(W=720,W,WEBGL)+texture(createGraphics(S=50,S).background(W).erase().rect(0,0,40))+noStroke()
background(F=1)
t+=.005
for(r=0;r<12;r++){rotate(.52)+push(F=-F)
for(i=0;i<S;i++)+rotateX(R=t*F)+rotate(R)+translate(S,0)+box(S,9)
pop()}}#つぶやきProcessing pic.twitter.com/cFDT5W7N6g
t=0
— はぅ君 (@Hau_kun) March 16, 2021
draw=_=>{t||createCanvas(W=720,W,WEBGL)+texture(createGraphics(S=99,S).background(W).erase().rect(0,9,S,81))+noStroke()
background(r=0)
t+=.01
for(;r<8;pop(r++)){rotate(.8)+push()
for(i=9;i–;)rotateX(t)+rotateY(t)+translate(0,tan(r+t)*S)+torus(30,5)}}#つぶやきProcessing pic.twitter.com/0etDYg4OWv
t=0
— はぅ君 (@Hau_kun) March 17, 2021
draw=_=>{t||createCanvas(720,720,WEBGL)+texture(createGraphics(99,99).background(255).erase().rect(0,9,99,81))+noStroke()
background(0)
t+=.01
for(r=0;r<TAU*7;r+=.1)
push()+rotateY(r*noise(r/9,t/9)+t)+translate(cos(r)*r*9,sin(r)*r*9)+torus(r/2,r/9)+pop()
}#つぶやきProcessing pic.twitter.com/MIyJmxggNX
t=0
— はぅ君 (@Hau_kun) March 18, 2021
draw=_=>{t||createCanvas(W=720,W,WEBGL)+texture(createGraphics(9,9).background(W).erase().rect(0,3,9,3))+stroke(0,20)
background(0)
t+=.02
for(r=0;r<42;r+=.1)push()+rotateY(r/9+t)+translate(cos(r)*r*9,sin(r)*r*9)+rotateX(r*2+t)+ellipsoid(r/2,r*3)+pop()
}#つぶやきProcessing pic.twitter.com/72LVsCtaT7
t=0
— はぅ君 (@Hau_kun) March 21, 2021
draw=_=>{t||createCanvas(W=720,W,WEBGL)+texture(createGraphics(9,9).background(W,150).erase().rect(0,2,9,5))+noStroke()
background(0)
t+=.01
for(y=-360;y<360;y+=40)for(x=-480;x<490;x+=40)push()+rotateX(x/300+y/99+t)+translate(x,y)+cylinder(y/12,y/2)+pop()}#つぶやきProcessing pic.twitter.com/gk6O8nPpfo
t=0
— はぅ君 (@Hau_kun) March 22, 2021
draw=_=>{t||createCanvas(W=720,W,WEBGL)+noStroke(texture(createGraphics(9,9).background(W).erase().rect(0,1,9,3)))
background(i=0)
t+=.01
for(;i<99;pop())push()+rotateY(t+i)+translate(sin(R=i++/9)*(L=(S=sq(tan(R+t)))/2+250),cos(R)*L)+rotate(-R)+cone(25,S)}#つぶやきProcessing pic.twitter.com/LJ4MYmBTBr
t=0
— はぅ君 (@Hau_kun) March 23, 2021
draw=_=>{t||createCanvas(720,720,WEBGL)+texture(createGraphics(9,9).background(0).erase().rect(0,3,9,5))+noStroke()
t+=.01
for(i=0;i<64;i++)push()+translate((A=i%8)*80-280,(B=int(i/8))*80-280)+rotateY(A%2?t:-t)+rotateX(B%2?t:-t)+torus(sin(t)*99,9)+pop()}#つぶやきProcessing pic.twitter.com/ywCb8TwJGL
t=0
— はぅ君 (@Hau_kun) March 24, 2021
draw=_=>{t||createCanvas(720,720,WEBGL)+texture(createGraphics(9,9).background(0).erase().rect(0,2,9))+noStroke()
clear()
t+=.02
for(i=0;i<6;i+=.5)+push()+rotateY((T=t-i)+noise(T))+translate(cos(t*2-i)*200,sin(T)*200)+rotateX(T)+torus(50*cos(T)-80)+pop()}#つぶやきProcessing pic.twitter.com/gQAn7e1JvI
t=0
— はぅ君 (@Hau_kun) March 27, 2021
draw=_=>{t||createCanvas(720,720)
background(0)
noStroke()
t+=.01
drawingContext.filter="drop-shadow(0 0 9px #FFF)"
for(r=0;r<12;r++){beginShape()
for(i=0;i<5;i+=.01)
vertex(cos(R=r*PI/6+noise(i,t))*(D=noise(i-t,9,r%3)*i*99)+360,sin(R)*D+360)
endShape()}}#つぶやきProcessing pic.twitter.com/CYx8sLqBzq
t=0
— はぅ君 (@Hau_kun) March 28, 2021
draw=_=>{t||createCanvas(W=720,W,WEBGL)+texture(createGraphics(9,9).background(W).erase().rect(0,1,9,3))+noStroke()
background(0)
t+=.01
for(r=0;r<TAU;r+=.03)push()+rotateZ(r*2+t)+translate(cos(r)*W,tan(r*3+t)*W,sin(r+t)*W)+rotateY(r*55+t)+torus(99)+pop()}#つぶやきProcessing pic.twitter.com/cRVmVWl8hm
t=0
— はぅ君 (@Hau_kun) March 29, 2021
draw=_=>{t||createCanvas(W=720,W)
background(0)
noStroke()
t+=.01
drawingContext.filter="drop-shadow(0 0 20px #008)"
for(d=480;d>0;d-=30){
beginShape()
for(r=d;r<TAU+d;r+=PI/24)vertex(cos(r)*(D=d*noise(sin(r*d/48),D=d/600-t))+360,sin(r)*D+360)
endShape()}}#つぶやきProcessing pic.twitter.com/LPNb3ZiZFz
t=0
— はぅ君 (@Hau_kun) March 30, 2021
draw=_=>{t||createCanvas(720,720)
background(0)
noStroke()
fill(0)
t+=.01
for(d=810;d;d-=9){drawingContext.filter="drop-shadow(0 0 "+d/16+"Q#4FF)"
beginShape()
for(r=0;r<7;r+=.1)vertex(cos(r*2)*(N=noise(sin(r*3),d/99-t)*d)+360,sin(r*2)*N+360)
endShape()}}#つぶやきProcessing pic.twitter.com/Bm8uILGzhg
コメント