r
/
fifth
1
Fork 0
fifth/examples/highlife.py

21 lines
336 B
Python
Raw Normal View History

2015-06-02 21:30:22 +00:00
"""
B368/S23: High Life
@author: jrpotter
@date: June 02, 2015
"""
if __name__ == '__main__':
import os, sys
sys.path.append(os.path.abspath('src'))
import cam
import util as u
2015-06-02 21:30:22 +00:00
import ruleset as rs
c = cam.CAM(1, 100, 2)
p = u.CAMParser('B368/S23', c)
2015-06-02 21:30:22 +00:00
c.randomize()
c.start_plot(100, p.ruleset)