This program displays a simulated Wolfram rule.
Download and install termbox-go using: go get github.com/nsf/termbox-go
Simply call go run wolframsimulator.go
to compile and run.
Arguments determine program behavior as follows:
-rule
(-r
) specifies the rule to simulate.-width
(-w
) specifies the width of the simulation.-height
(-h
) specifies the height of the simulation.
Default argument values:
rule =
30width =
width of terminalheight =
height of terminal