phetsims / collision-lab

"Collision Lab" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
6 stars 4 forks source link

Ball interaction only enabled while paused #36

Closed veillette closed 5 years ago

veillette commented 5 years ago

OpenStax ported the collision lab simulation. It would be worth our time to think about the deviations from their port. We can find them at https://github.com/openstax/simulations/blob/master/collision-lab/Deviations.md

Deviations from the original PhET simulation and the reasons for them

In the original sim, a user could drag the ball around while the simulation was running but not change the velocity (the velocity controls being hidden). The behavior of dragging the ball while the simulation is running is not very refined and seems strange, and I see no value in allowing the user to mess with the ball's position during runtime anyway, so I've removed that functionality and have limited interaction with the balls to when the simulation is paused.

veillette commented 5 years ago

In the 10/17 meeting, we (KP, AR, MV) decided that if a ball is being moved, the simulation should stopped (if it is playing), and the simulation should restart when it is dropped.

veillette commented 5 years ago

The implementation will be tracked in #37 . Closing