phetsims / keplers-laws

"Kepler's Laws" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
1 stars 1 forks source link

Possible to break the sim by forcefully playing it via PhET-iO #230

Open AgustinVallejo opened 10 months ago

AgustinVallejo commented 10 months ago

For certain orbits, the sim will pause and prevent the user from using the play button. However, you could still play via PhET-iO by setting the isPlayingProperty to true. To replicate in studio:

  1. Setting planet's initial velocity to { x: 1, y: 0 }
  2. isPlayingProperty.value = true via studio
  3. Wait a couple of orbits (The planet will go through the sun, more reason why this shouldn't be allowed normally)

Since this is a very unlikely scenario, and it forcefully bypasses some safeguards, I'm not sure how high priority this should be.