gosper_glider_gun Conway's Game of Life via Spatial Analyst def tick(grid): g = FocalStatistics(grid, NbrRectangle(3, 3), "SUM", "DATA") - grid return (grid == 1) & (g == 2) | (g == 3) gosper.mp4