Using beam tracing to calculate reflections in JavaScript · HackerTrans