Below is an animation of a laser bouncing around a triangle with open vertexes. A link to the Euler problem can be found at projecteuler.net/problem=202. This is just a visualization of the problem. This post does not contain an answer, or any algorithms.