Thanks Patrick! ๐ค You are right, the light is indeed calculated by raycasting from mirror to mirror. But it is a really hard problem to be honest and there are still edge cases in which the beam is calculated wrong ๐
But you van have a look at the source code if you want. I have to warn you it is jam code, so not the cleanest ever. But it does the job for now, although Iโm convinced there must be a simpler and more elegant way of calculating reflections ๐