Skip to content

An elementary cellular automata written in python 3

License

Notifications You must be signed in to change notification settings

minermonster19/wolframCellular

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elementary cellular automata Build Status License: MIT

An elementary cellular automata written in python 3

Requirements

  • python 3.0 +
  • matplotlib (optional)

Installation

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()

Result

Contributing

  1. Fork it (https://github.com/SaschaAlex/wolframCellular/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request
  6. Get the yolo achievement

About

An elementary cellular automata written in python 3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%