this is a processing sketch that uses the Genetic Algorithm, neuroevolution, and ray casting to allow cars to learn how to drive around a track without hitting a wall. the cars see with raycasting and the population improves using the genetic algorithm.
this program was inspired by many videos:
--------------------------------------------------------------------------------------------------------
the Coding Train GA: • 9.1: Genetic Algorithm: Introduction - The...
the Coding Train raycasting: • Coding Challenge 145: 2D Raycasting
deep learning cars: • Deep Learning Cars
Code Bullet ai cars: • A.I. Learns to DRIVE
-------------------------------------------------------------------------------------------------------
Processing: https://processing.org/