This single thread C++ program simulates a 3D object made of one way mirriors. It outputs an animated gif can show rotation of the object and pan the view to look at the object from above or below.

Here is an example output:

alt text