How slackermanz/pythonmnca works
This is a small Pygame cellular-automaton application. Its main workflow initializes and seeds a World, repeatedly advances its state through multiscale convolution updates, and renders the result. The source shows a separate simple-convolution utility, but no caller for it. The README is empty, so the map reflects only the supplied source; external library behavior is represented at a high level.
Main entry points: mnca.py Pygame loop · world.py World state · convolve.py MNCA update
Components 9
Application
- Pygame loop
mnca.py
Simulation
- World state
world.py - MNCA update
convolve.py - Circular kernels
convolve.py - Simple convolution
convolve.py
Rendering
- Pygame display
- Display screen
Other components
- Operator
- SciPy convolution
Connections 14
- Operator → Pygame loop: starts
- Pygame loop → World state: creates
- Pygame loop → World state: seeds
- Pygame loop → World state: steps
- World state → MNCA update: updates via
- MNCA update → Circular kernels: generates
- MNCA update → SciPy convolution: convolves with
- Simple convolution → SciPy convolution: convolves with
- Pygame loop → World state: renders
- World state → Pygame display: builds surface
- World state → Display screen: blits state
- Pygame loop → Pygame display: handles events
- Pygame loop → Display screen: flips display
- Pygame display → Display screen: scales surface