Beam tracing algorithm in 2D.
Utilizing a tree structure for the beams and a BSP tree for accelerated ray tracing.
npm installnpm startapp should be running on http://localhost:3000. Clicking moves the source.
The basics are very loosely based on the following paper: .. S. Laine, S. Siltanen, T. Lokki, and L. Savioja. Accelerated beam tracing algorithm. Applied Acoustics, 70(1):172–181, 2009
Possible improvements include: