An elementary cellular automata written in python 3
- python 3.0 +
- matplotlib (optional)
Clone :
git clone https://github.com/SaschaAlex/wolframCellular
Code Exemple
import numpy as np
import matplotlib.pyplot as plt
from main import game
H = np.array(game(30 , 2**15 , 15))
fig = plt.figure(figsize=(13, 6.2))
ax = fig.add_subplot(111)
ax.matshow(H, cmap=plt.cm.Blues)
plt.show()
- Fork it (https://github.com/SaschaAlex/wolframCellular/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request
- Get the yolo achievement