Skip to main content
100%

p5 wolfram CA

✓ Published0🌍 Public
PPhilippe Rivière
Last edited Feb 8, 2017
Created on Feb 8, 2017

A p5.js sketch renders a one-dimensional cellular automaton, displaying each generation as a horizontal row of small squares that stack downward over time. The simulation starts with a single active cell in the center of the top row and applies a fixed Wolfram rule set to compute each subsequent generation from the three neighboring cells above. The code uses the p5.js `createCanvas`, `rect`, and `fill` functions to draw the grid, and the result produces a deterministic, rule-based visual pattern that evolves over the canvas height.

AI-generated description
mit Licensed

Similar vizzes