Weasel Program - Split JS

This page demonstrates the Weasel simulation using an external JavaScript file (weasel.js) and Plotly for the box plot. You can change the parameters below and watch how the population evolves toward the target phrase.







Current Generation: 0

Best Match So Far: (none)

Stepbacks: 0

Help

Target Phrase: Enter any phrase. The simulation tries to evolve a population of random strings into this target phrase.

Population Size: The number of candidate strings each generation.

Mutation Rate (%): Chance for each character to mutate.

Stepbacks: Each time a generation's best fitness is lower than the previous generation's, the stepbacks counter increments.

About

This tool is designed for self-learners, students, and educators exploring evolutionary concepts. By running the simulation and experimenting with parameters, you can see the power of incremental selection.