Skip to content
/ ant_sugar Public

Genetic Algorithms, Mutation, Crossover, Mating, Particle Animation, Gaming, Learning, P5JS, Fun Project

Notifications You must be signed in to change notification settings

dg92/ant_sugar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modified Ant food problem using genetic algorithms, passing good path traits to next generation.

A small generation of ant's (dynamic particle) tries to find the path for a sugar placed at some distance that have a obstacle. If ants collied with obstacle, it dies.

A generation live for certain amount of time and then dies.

This small project shows how ants passess traits to their next generation to figure out the path to sugar avoiding obstacle.

checkout this out -> https://dg92.github.io/ant_sugar/

Note: after some generations the ants figure out the path to sugar and then all ants will follow the same path.

About

Genetic Algorithms, Mutation, Crossover, Mating, Particle Animation, Gaming, Learning, P5JS, Fun Project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published