This is one of a bunch of little gizmos I’ve made that I would classify as stochastic cellular automata. Pixels are altered according to properties of neighboring pixels and a set of rules, but only a random subset of all pixels is altered per iteration. Not much to it, really. Have someĀ code.