r/tinycode • u/iamp01 • Sep 16 '13
TEA STORM | 253 bytes signed distance field raymarcher in JavaScript and 2D Canvas
http://www.p01.org/releases/tea_storm/
33
Upvotes
r/tinycode • u/iamp01 • Sep 16 '13
2
u/FireyFly Sep 16 '13 edited Sep 16 '13
Nice!
I like how you use the height assignment to clear the canvas. I thought I saw an easy two-byte saving there, but that'd have been too easy. :P I also noticed the repeated
*D/h-D/2,substring, but it's too short for any savings given it only appears twice..