rule 52928 cellular automata in JS/HTML5 Canvas