ece210/conways/update.m

4 lines
69 B
Mathematica

function G_iter = update(G)
G_iter = clip(G + growth(G), 0, 1);
end