/self-driving-cars-2d

Implementation of self driving cars using neural nets in JavaScript

Primary LanguageJavaScript

Self Driving Cars 2D

Implementation of self driving cars using neural nets in JavaScript.

GitHub Logo

Run index.html in your Opera or Chrome browser and start playing.

You can use UP and DOWN arrow to speed up and down the car.
Hit SPACE to full stop.

In js/app.js you can specify wether you want to load trained self driving car or test a random car by changing loadTrainedCar constant.
You can choose to drive the car yourself by changing manualControl constant.

You can use LEFT and RIGHT arrows to steer the car.

This project uses p5.js - https://github.com/processing/p5.js