An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# nkos-rules
Python code to create all the rules from "New Kind of Science" by Stephen Wolfram

![Example](example.gif)

## 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
```