Skip to content

Commit

Permalink
import
Browse files Browse the repository at this point in the history
  • Loading branch information
dipushrestha committed Jul 5, 2019
1 parent 3a2929d commit 289861c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/Ball.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ export default class Ball {
this.mass = radius;
this.radius = radius;
this.parent = parent;
this.dx = (Math.random() - 0.5) * 3;
this.dy = (Math.random() - 0.5) * 3;
this.dx = (Math.random() - 0.5) * 2;
this.dy = (Math.random() - 0.5) * 2;
this.parentWidth = parentWidth;
this.parentHeight = parentHeight;
this.element = null;
Expand Down

0 comments on commit 289861c

Please sign in to comment.