Skip to content

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

Notifications You must be signed in to change notification settings

hhakk/nkos-rules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nkos-rules

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

Example

Dependencies

Python

  • NumPy 1.18.4

External (to batch create videos)

  • GNU parallel
  • ffmpeg

Usage

python rule.py <rule_number> <size_x> <size_y> <steps>

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

Releases

No releases published

Packages

No packages published