r/tinycode • • 20d ago

JavaScript Dweet of the Week #151 - Spooky tree in the moonlight by UEZ

Post image

https://www.dwitter.net/d/36629

with(x)reset(k=0),translate(960,lineWidth=1070,globalAlpha=.8),arc(0,-620,940,0,7),stroke(),(G=h=>h>5&&G(h-1,fillRect(0,0,h/2,h,translate(0,-h,rotate(S(k*k++)/3))),restore(G(h-12,save()))))(56)
7 Upvotes

0 comments sorted by