https://github.com/kuy/cizen-cells
Time-driven two-dimensional asynchronous cellular automaton with Moore neighborhood.
https://github.com/kuy/cizen-cells
cellular-automaton cizen elixir typescript visualization websocket
Last synced: 3 months ago
JSON representation
Time-driven two-dimensional asynchronous cellular automaton with Moore neighborhood.
- Host: GitHub
- URL: https://github.com/kuy/cizen-cells
- Owner: kuy
- Created: 2018-10-13T09:32:13.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-04T15:58:13.000Z (over 6 years ago)
- Last Synced: 2025-01-09T16:57:21.062Z (5 months ago)
- Topics: cellular-automaton, cizen, elixir, typescript, visualization, websocket
- Language: Elixir
- Homepage:
- Size: 1.48 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CizenCells
Time-driven two-dimensional asynchronous cellular automaton with Moore neighborhood. Each cell diffuses energy to surroundings. Click to inject energy to the cell. I don't know what I wanted to express with this, but it's funny.
Made with [Cizen](https://gitlab.com/cizen/cizen) + [Obelisk.js](https://github.com/nosir/obelisk.js) + [WebSocket](http://websocket.org/).
![Cizen Cells][5x5input]
## Server
### Prepare
```bash
mix deps.get
```### Run
```bash
mix run lib/cells.exs
```## Client (Web)
### Prepare
```bash
cd browser
yarn
```### Client (Web)
```bash
cd browser
yarn start
```[5x5input]: https://github.com/kuy/cizen-cells/raw/master/misc/5x5input.gif