Skip to content
/ Ants Public

A simulation of path finding using genetic algorithms.

Notifications You must be signed in to change notification settings

GauravC4/Ants

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ants

A simulation of path finding using genetic algorithms.

Inspired by SmartRockets http://www.blprnt.com/smartrockets/

To run the code copy contents of sketch file into a p5js editor.

Initial population is generated with random direction vectors . Then fitness is calculated and based on that mating pool is filled. For every new generation crossover happens between parents picked randomly from mating pool. Then genes of child is mutated.

Click mouse anywhere on screen to change position of obstacle.

About

A simulation of path finding using genetic algorithms.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published