Here is the link to an interactive Python simulation that creates a Bohr atom model. In the simulation, a photon appears and is absorbed or emitted when the Enter key is pressed.