Generates random pattern image on canvas. Run it now!
Based on finite cell automaton with majority rule (if the majority of neighbors including self are living, the cell survives).
In this rule, the cells (mostly) converges into loop of single state, in which cells are "connected".