//#つぶやきProcessing #p5js
t=0,d=10
draw=_=&gt;{
createCanvas(W=(w=200)*2,W)
for(x=0;x&lt;W;x+=d)
for(y=0;y&lt;W;y+=d)
push(),
translate(x,y),
rotate((x+y)*sin(T=t/w)),
rect(d*sin(t/77),d*cos(-t/77),d),
pop()
t++}