Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/catseye/circute
A cellular automaton that simulates NAND gates
https://github.com/catseye/circute
alpaca cellular-automaton circuit-simulator nand wireworld
Last synced: 5 days ago
JSON representation
A cellular automaton that simulates NAND gates
- Host: GitHub
- URL: https://github.com/catseye/circute
- Owner: catseye
- License: other
- Created: 2012-06-23T21:48:54.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2018-12-12T17:24:31.000Z (almost 6 years ago)
- Last Synced: 2023-03-12T22:20:39.961Z (over 1 year ago)
- Topics: alpaca, cellular-automaton, circuit-simulator, nand, wireworld
- Language: JavaScript
- Homepage: http://catseye.tc/node/Circute
- Size: 43.9 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE
Awesome Lists containing this project
README
The Circute Cellular Automaton
==============================*Note: parts of this readme were cribbed from the esolangs.org
[wiki entry for Circute](http://esolangs.org/wiki/Circute), which is in the
public domain.***Circute** is a two-dimensional five-state cellular automaton. It was
designed by Chris Pressey in 2005 as a test of the so-called "wire-crossing
problem". It is similar in some respects to WireWorld, but attempts to act
more like an actual digital electronic circuit, providing as its basic
mechanism the only logic gate you ever really need, the NAND gate.Syntax
------* ` ` - blank. Never changes.
* `=` - wire. Sparks pass through.
* `-` - tail. Used to make sparks act more like snakes.
* `#` - spark. These spread across wires.
* `N` - NAND gate. Never changes itself, but if there's a free wire
directly along the left or the right, send a message along any
wire directly above or below.Implementation
--------------Circute has a simple description written in ALPACA. This distribution
contains both that description, and a Perl script compiled from it which
animates the cellular automaton.