Skip to content

HankMcCoy/ca-sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published