phetsims / pendulum-lab

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

Positive and negative angle readout behaviour #131

Closed phet-steele closed 8 years ago

phet-steele commented 8 years ago

@jonathanolson @ariel-phet Currently, dragging a mass to the left displays angles up to -90 degrees. Dragging further up/left will show the angle value jump to positive 270 degrees followed by decreasing to 180 degrees as the mass continues upward. This is inconsistent with the behaviour of dragging to the right. Dragging to the right shows angles up to 90 degrees, and continues to 91+ degrees as the mass continues to drag.

@arouinfar and I have suggested that the angle readouts behave as following:

Dragging to the left shows values up to -90, and continues up to -179 degrees. Dragging to the right shows values up to 90 degrees, and continues up to 179 degrees. When the mass is straight up, the angle will (always) read ±180 degrees.

arouinfar commented 8 years ago

:+1: