3 ms·
A Ray-Tracer in 7 Lines of K: http://nsl.com/k/ray/ray.k http://nsl.com/k/ray/ray.k
by ectoplasmaboiii 6y ago
A Ray-Tracer in 7 Lines of K: http://nsl.com/k/ray/ray.k http://nsl.com/k/ray/ray.k
- jagged-chisel 6y ago7? Just remove those comments and the last few newlines and it’ll be one line. I don’t know K, but it looks like it uses semicolons to end statements. It’s “cheating” on line count to compress statements by just removing \n. After all, how many “lines” are in the business card raytracer? 4.