This is an example of using GeneMO library to run a genetic algorithm in a web browser, without blocking the browser's main thread.
Demo URL: lukix.github.io/genemo-web-demo.
The most important parts of the code are:
- runEvolutionButtonHandler.js - handling button click (starting algorithm)
- travelingSalesman.js - genetic algorithm configuration