The tank is slightly bigger than the screen for two reasons:
1. If more than one fish were to crowd against the edge of the tank, there would be nowhere for the fish to go, greatly increasing the chance of a dreaded "pass-through". The fish can go off the edge, turn around, and re-emerge when the space is clear. The fish also can use this area to pass from the front of the tank to the back and vice-versa.
2. If I allowed the edges of the tanks to show, I would have to put in reflections of the fish as they approach it. This would greatly increase the complexity of the program, and reduce the frame rate.
|