Skip to content

A JavaScript/HTML5 implementation of the WireWorld cellular automata.

License

Notifications You must be signed in to change notification settings

calzoneman/WireWorld-JS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WireWorld-JS

A JavaScript/HTML5 Implementation of the WireWorld Cellular Automata

This is very much a work in progress. Some of the code is messy and/or undocumented at this time. I've tested this in Google Chrome but it should work in all major browsers.

Rules of the Cellular Automata:

  • Empty cell => Empty cell
  • Wire head => Wire tail
  • Wire tail => Conductor
  • Conductor => Wire head if exactly 1 or 2 neighbors (including diagonals!) are wire head

These rules are applied to each cell in the world on each step.

Controls:

  • Left click to change a cell
  • Q changes your cell-type to Empty
  • W changes your cell-type to Conductor
  • E changes your cell-type to Wire head
  • R changes your cell-type to Wire tail

Resources:

About

A JavaScript/HTML5 implementation of the WireWorld cellular automata.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published