https://github.com/hhakk/nkos-rules
Python code to create all the rules from "New Kind of Science" by Stephen Wolfram
https://github.com/hhakk/nkos-rules
complex complexity ffmpeg generative-art new-kind-of-science python rule stephen-wolfram wolfram
Last synced: about 2 months ago
JSON representation
Python code to create all the rules from "New Kind of Science" by Stephen Wolfram
- Host: GitHub
- URL: https://github.com/hhakk/nkos-rules
- Owner: hhakk
- Created: 2020-05-16T16:25:19.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-16T16:38:00.000Z (about 6 years ago)
- Last Synced: 2025-06-29T09:03:42.242Z (12 months ago)
- Topics: complex, complexity, ffmpeg, generative-art, new-kind-of-science, python, rule, stephen-wolfram, wolfram
- Language: Python
- Size: 2.49 MB
- Stars: 0
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nkos-rules
Python code to create all the rules from "New Kind of Science" by Stephen Wolfram

## Dependencies
### Python
* NumPy 1.18.4
### External (to batch create videos)
* GNU parallel
* ffmpeg
## Usage
```
python rule.py
rule_number - number of rule
size_x, size_y - Canvas size
steps - How many steps to compute, must be < size_y
```
Alternatively, create all rules as webm videos with ffmpeg (Linux)
```
bash run_all.sh
```