Evolving byte beat algorithms in the browser using genetic programming.
Read my introductory blog post, or Viznut's original post on the subject.
Demo available here (your browser must support the WebAudio API). Click the "New Line" button to get started.
The following functions are available in the demo:
- New Line - start evolving formulas by randomly creating a starting point formula.
- Play / Stop - play or stop browser audio.
- Crossover - randomly breed the current formula with another one.
- Mutate - make a small adjustment to a number in the current formula.
- Simplify - simplify a formula sub-expression by replacing it with a constant.
- Complexify - make a formula more complex by replacing a constant with a sub-expression.
- Undo - undo the last operation.