xxxxxxxxxx
t=0
draw=_=>{
createCanvas(640,640)
m=1-sin(t+=.01)**88
Tree(width/2,width/2,0)
Tree(width/2,width/2,PI)
}
Tree=(x,y,r,step=9,l=60)=>{
if(step>0){
d=19-step/2
strokeWeight(step--)
x=(x-width/2)*m+width/2
n=noise(x/width+t,y/width-t)*d
line(x,y,x+=cos(r)*l+cos(n)*d,y+=sin(r)*l+sin(n)*d)
for(angle of[.7,-.7]){
Tree(x,y,r+angle,step,l*.83)
}
}
}