Generating random balls which will learn how to set the appropiate force needed to get into the hoop.
You can see the version live on Codepen
- create Ball
- add physics to the Ball
- add friction, gravity & drag force to the Ball
- allow user to shot the Ball
- draw line from the Ball to where the mouse position before the shot
- see the ball rotation
- create hoop
- increase score when the ball goes in the hoop
- add nn
- create generations of balls
- add slider for faster learning
- change it to work with Matter.js for better physics engine
- improve fitness function
- FontAwesome v4
- Physics built with Matter.js
- Matrix & NN libraries from TheCodingTrain