Skip to content
Genetic AI path finding algorithm and visualizer
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Genetic AI path finding algorithm and visualizer

Simple genetic path seeking algorithm coded in JavaScript paired with HTML5 Canvas visualizer. The dots are trying to follow the path set by the three checkpoints on screen in a clockwise direction. Each generation tries to improve from the previous as the inital random movements of the dots are naturally selected to optimize the movement path of the dots.

Serves as an introduction to Genetic Learning Algorithms, clearly showing the progress by displaying each generation and allowing user to see the progress along with the max fitness of the current generation. Algorithm adapted from

You can’t perform that action at this time.