News for hackers. Stuff that matters.
Re:WebAssembly Raytracer by singularity2001 on Saturday December 16, 2017 @09:56AM (#15939778)
I had no idea ray tracers can be written with such concise and clean code. the results are amazing too. lesson learnt: JavaScript is extremely fast on chrome, 6 times slower than WASM in Firefox and GPU shaders are still faster by a factor of 1000!!
Re:WebAssembly Raytracer by sniklaus on Saturday December 16, 2017 @07:19PM (#15943099)
If you give up having clean code, you can even fit a raytracer on a business card: http://fabiensanglard.net/rayTracing_back_of_business_card/