Assignment
Cellular Automata
Complete a 1D cellular automaton and a traffic model simulation.
Required
- Implement Rule 30 and plot a space-time diagram.
- Modify the initial row (at least 3 different initial conditions).
- Implement the traffic CA and generate a space-time diagram.
- Compare two densities and discuss the patterns.
Extra Mile (Optional)
- Implement another rule (e.g., Rule 110).
- Add interactivity to the traffic model (sliders for density or \(p\)).
Good luck and enjoy your coding!