Skip to content

Commit

Permalink
Factor out slow motion constant - #314
Browse files Browse the repository at this point in the history
  • Loading branch information
UniverseAndMore committed Dec 9, 2022
1 parent 2801834 commit 686614d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/common/ProjectileMotionConstants.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ const ProjectileMotionConstants = {
PATH_WIDTH: 2,

// data point collection along the trajectory
TIME_PER_DATA_POINT: 25, // milliseconds
SLOW_MOTION_FACTOR: 0.33, // time slowdown factor
TIME_PER_DATA_POINT: 3, // milliseconds
TIME_PER_MINOR_DOT: 100, // milliseconds
TIME_PER_MAJOR_DOT: 1000, // milliseconds
SMALL_DOT_RADIUS: SMALL_DOT_RADIUS, // in global view coordinates
Expand Down

0 comments on commit 686614d

Please sign in to comment.