Bouncing balls is an application spanning balls on each mouse click event using an HTML5 Canvas. Balls are affected by gravity and friction and have a predetermined elasticity. Let's assume the balls are moving on different planes along an imaginary z-axis so that the possibility of them coliding is exluded.
-
Clone the repo:
git clone https://github.com/ipanov/bouncing-balls.git -
Install dependencies:
npm install -
Run webpack:
npm start The bouncing balls application should open up automatically at http://localhost:3000 -
Run tests:
npm test