phetsims / area-builder

"Area Builder" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/area-builder
GNU General Public License v3.0
1 stars 2 forks source link

animation speed? #84

Closed pixelzoom closed 8 years ago

pixelzoom commented 8 years ago

I ran across this while looking at how animation is handled, to reuse stuff in function-builder.

In AreaBuilderSharedConstants:

    // velocity at which animated elements move
    ANIMATION_VELOCITY: 200, // In screen coordinates per second

Velocity is a vector, this is a scalar. I believe you mean ANIMATION_SPEED.