Butterfly Mimicry Game
How do butterfly wing patterns evolve? The Heliconius Butterfly Wing Pattern Evolver is a game where you take the role of a hungry bird, and drive the evolution of an edible species to mimic the patterns of a toxic species. The game is based on genetic models used by the researchers at Cambridge University and was commisioned for use at the 2014 Royal Society Summer Exhibition in London.
The source code is here, it’s the first time I’ve used WebGL for a game, and it’s using the browser version of fluxus. It worked out pretty well, even to the extent that the researchers could edit the code themselves and add new explanation screens for the genetics.