Game of Life
Description
A flow that implements Conway's Game of Life. It takes a grid size, number of iterations, and a seed pattern name as arguments. Each generation is rendered to an image, showing the evolution of the cellular automaton.
Supported seed patterns: glider, blinker, block, rpentomino.
Root Diagram
Click image to navigate flow hierarchy.
Functions Diagram
Click image to view functions graph.
Features Used
- Root Flow
- Sub-flows
- Provided function (game_step - compiled to WASM)
- Library Functions used
subtractfor iteration countingcomparefor termination checktapfor conditional loopback
- Context Functions
Argsto parse argumentsimage_bufferto render pixelsstdoutto display iteration count
- Loopback connections for iterative computation
- Output route selectors for destructuring pixel data