项目作者: hanzopgp

项目描述 :
Cellular Automata implementation.
高级语言: PHP
项目地址: git://github.com/hanzopgp/CellularAutomata.git
创建时间: 2020-11-08T02:30:59Z
项目社区:https://github.com/hanzopgp/CellularAutomata

开源协议:MIT License

下载


CellularAutomata

Presentation :

Here is my php implementation of elementary cellular automaton, you can see the simulation of any law given a proportionality, a number of raws and columns and a rule number. This program is working in terminal and in browser.

Use :

Browser

  • git clone this repository and host the php file.
  • cellularAutomata%20.php?argument1=<>&argument2=<>&argument3=<>&argument4=<>
  • argument 1 : proportion of cells on first line.
  • argument 2 : number of columns.
  • argument 3 : number of rows.
  • argument 4 : number of the rule ( from 0 to 255 ).

Terminal

  • git clone this repository
  • php cellularAutomata.php