A simulation / animation of behavior of single photons encountering a 50-50 beam splitter. - Click on the green flag to run the animation. - Click on the "See Inside" button to view the code.