phetsims / wave-on-a-string

"Wave on a String" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/wave-on-a-string
GNU General Public License v3.0
7 stars 8 forks source link

Oscillator implementation #79

Closed samreid closed 9 years ago

samreid commented 10 years ago

One idea I had to implement the oscillator and prevent the gradient from spinning around would be to make the body of the wheel not move, and only to animate two things: (a) the circle that orbits and (b) the line within the central screw. This may also improve performance.

samreid commented 10 years ago

Here's a picture of the current oscillator:

image

jonathanolson commented 10 years ago

Will be removing the gradient anyways. Will consider not moving stroke (to mask off-axis effects, I did have a non-moving stroke outside before).

jonathanolson commented 9 years ago

Gradient removed in master, closing.