8
votes
Dissecting A Dweet: Shattered Tunnel - How to make a 3D tunnel in 140 bytes of JavaScript!
Link information
This data is scraped automatically and may be incorrect.
- Title
- Dissecting A Dweet #8: Shattered Tunnel
- Authors
- Frank
- Published
- Nov 1 2019
- Word count
- 1807 words
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)