8 votes

Dissecting A Dweet: Shattered Tunnel - How to make a 3D tunnel in 140 bytes of JavaScript!

1 comment

  1. KilledByAPixel
    Link
    Hi, everyone! This is my 8th post explaining one of these tiny programs. I have a plan to get 10 done by the end of the year. Here's the actual javascript code......

    Hi, everyone! This is my 8th post explaining one of these tiny programs. I have a plan to get 10 done by the end of the year.

    Here's the actual javascript code...

    for(c.width|=k=i=960;z=--i;x.fillStyle=`hsl(0 99%${i/9}%`)x.fillRect(k-z*C(j=i/k+t/4)+S(m=k*j)*(r=1e5/z),540+C(m)*r-z*S(j),s=3e4/z*S(j*9),s)

    3 votes