5 ms·
Very nice writeup! Related: I got a couple mails about raytracers in pure bash. It looks like they use fixed point arithmetic in bash rather than floating poi
by chubot 6y ago
Very nice writeup!
Related: I got a couple mails about raytracers in pure bash. It looks like they use fixed point arithmetic in bash rather than floating point, which works well:
http://www.oilshell.org/blog/2021/01/audio-and-graphics.html#appendix-raytracing-in-pure-bash http://www.oilshell.org/blog/2021/01/audio-and-graphics.html...
https://github.com/aneeshdurg/bash-raytracer https://github.com/aneeshdurg/bash-raytracer
https://www.bouledef.eu/~tleguern/articles/shell-fixedpoint/ https://www.bouledef.eu/~tleguern/articles/shell-fixedpoint/
- clarity20 6y agoThank you, and a tip of the hat to them for doing square roots the hard way.