//=time() ?>
f=0
draw=_=>{f++||createCanvas(W=800,W,WEBGL)
F=fill
C=cylinder
T=translate
Y=rotateY
F`pink`
C(W*2)
stroke`#つぶやきProcessing #AltEdu2022`
Y(f/99)
rotateX(9)
for(i=8;i--;)push(F`pink`),Y(i),scale(9,6,6),T(0,(i*25+f/4)%200-99),C(24,9),F`tan`,T(0,5),C(25,1),T(0,-10),pop(C(25,1))}
Asanoha - Video 🔥
https://t.co/gU1lnqEKxH #p5js #creativecoding #dailycoding
t=0
draw=_=>{t||createCanvas(W=800,W,WEBGL)
t+=.01
s=50
background(s,0,s)
noStroke()
rotateY(t)
pointLight(W,0,W,0,0,0)
for(i=324;i--;)for(j=2;j--;)h=noise(i+t,j+t)**2*s*5,push(),scale(1,j%2?-1:1),translate((i%18-9)*s,s*3-h/2,~~(i/18-9)*s),cone(s/3,-h),pop()}//#つぶやきProcessing
o=[]
setup=_=>{createCanvas(W=800,W,WEBGL)
noStroke()
for(i=81;i--;)o[i]=[i%9-4,~~(i/9)-4,noise(i)*W]}
draw=_=>{background(W,0,0)
for(i=81;i--;)[x,y,z]=o[i],fill(z/W*255,0,0),push(),translate(x*W/20,y*W/20,o[i][2]=(z+4)%W),rotateX(PI/2),cone(W/60,W/5),pop()}//#つぶやきProcessing
ひさびさにp5.jsでお絵描きした。座標手打ちつらい。(授業資料用)
#p5js #creativecoding
https://t.co/IedOT0jjh2