Skip to content

Releases: mlazaric/Photon

Version 1 of Photon

22 Dec 15:22
45cfc6f
Compare
Choose a tag to compare

A simple python script for simulating a photon moving through 2D space and reflecting off circular mirrors with integer center coordinates and radius of 1/3.

By default it uses the following parameters for the simulation:

  • Initial position: (0.5, 0.26)
  • Initial direction: to the right (angle = 0)
  • Distance to cover: 20