JS1k 2012 demo — "Cellular automaton" by Mark Biesheuvel

This is a cellular automaton that behave to rules which makes each cell move in one never-changing direction. In other words a cell that goes up will go up at each iteration, one that does left will a…