I like this simpulation, but I see the exiting refraction angle changes for a horizontal beam going into a right angle prism when the prism is translated horizontally without changing the angles. Physically this doesn't happen. There also some unusual beam reflections and refractions for this condition when the prism is translated vertically and horizontally which don't exist.
It is a very handy illustration when it does work though.
Regards,
Joseph