This project was generated with Angular CLI version 16.0.5.
Threejs implementation of Radu Mariescu-Istodor AKA (The Legend) driving evolution neural network.
- On the top you can see the current evolution version, the number of cars running, the current score and the last best score. We only save the evolution if it makes a better score.
- Each evolution has 100 instances of the same neural network with a .1 mutation.
- The neural network has 9 inputs, 2 hidden layers with 5 neurons each and 2 outputs.
- The inputs are the distance to the left and right wall, the current land and the distance to the next obstacle.
- Inputs from 1 to 7 are:
- Left limit,
- 5 front sensors
- 1 Right limit.
- Input 8 is the angle of the car.
- Input 9 is the center of a lane.
- The outputs are Left or Right.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The application will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.