Aldrie / BeetleGA

An genetic algorithm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Beetle Genetic Algorithm

A simple solution to a simple problem!

Technologies

encoded in Javascript, using Node to transpile the code!

The Problem

We have a population of beetles, each with its own random color, and the best beetle is the darkest, as it can camouflage itself better.

The solution

Develop a genetic algorithm that simulates natural evolution, surviving the best beetles, where mutations can also occur!

To Run

Just open the index.html inside src folder

To Modify

You need to install browserify and more project dependencies.

Browserify

hello@world:~$ npm i browserify --g
or
hello@world:~$ yarn add browserify -D

Another dependencies

hello@world:~$ npm i
or
hello@world:~$ yarn

I Hope You Enjoy :)

About

An genetic algorithm


Languages

Language:JavaScript 76.9%Language:CSS 19.1%Language:HTML 4.0%