Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
css
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Cellular Automata Simulator

Description

This is a simple simulator of any of the even-numbered elementary one-dimensional cellular automata that can easily be dropped onto a webpage as a simple widget.

Screenshot

Todos

  • Add button to kick off steps on an interval (with accompanying stop button)
  • Add option to set/reset the initial state of the tape
  • Style to not look completely terrible
  • Reposition the viewport to match the output as it grows
  • Resize the cells once the output extends beyond the width of the viewport
  • Constrain the height of the viewport
  • Resize the cells once the output extends beyond the height of the viewport
  • Switch to using canvas for rendering
  • Find a way to re-center less frequently (this hurts performance; just compare rules 110 and 30 to see how much)
  • Automatically stop running the CA when the user hits reset
  • Improve data entry and validation for the initial tape and the current rule
  • Add Post-CSS autoprefixer (which I think should fix Safari's messed up layout)
  • Add some sort of interesting presets the user can choose from (combinations of both states and rules)

About

Cellular Automata Simulator

Resources

Releases

No releases published

Packages

No packages published