Implementation in Javascript of a simple genetic algorythm.
There's a triangle drawn in SVG that represents a conch shell. With 6 genes (one for each corner) the winkles evolve until one of them is able to fit the shell.
Running example: https://jsbin.com/juhunu/edit?html,js,output
Based on: http://burakkanber.com/blog/machine-learning-genetic-algorithms-part-1-javascript/