A basic 2D version of the Beam Tracing algorithm presented in:
The environment is represented as a set of lines. Red lines represent walls and green lines represent doors. For each test case the ray emanate from the same source (represented as a white dot) and the listener is somewhere inside the room R. The maximum number of reflection/transmission allowed is showed in the upper left part of each image.