Skip to content

leo-eh/turing-machine-viz

 
 

Repository files navigation

This is a fork of turingmachine.io (GitHub: aepsilon/turing-machine-viz).

Changes

  • A slider has been added to adjust the TM's animation speed.
  • An option for neutral movement (N) has been added.
  • 2-tuples ((x/y)) have been introduced as possible tape symbols with a suitable graphical representation, allowing for better visualization of the multi-track technique.
  • A counter for tracking the number of transitions executed by the TM has been added.

Development Setup

If you want to work on the site itself, here’s how to get started:

Clone the repo and run npm install in the folder. Afterwards, use npm start to host the site locally on a webpack server, by default at localhost:8080.

npm run depgraph or depgraph-noext (requires madge and Graphviz) produces a visual dependency graph that’s good for getting a feel for the code layout.

Dependencies

Thanks go to the authors of the following runtime dependencies:

About

Visualize Turing machines and deterministic finite automata.

Resources

License

Stars

Watchers

Forks

Contributors

Languages

  • JavaScript 77.6%
  • HTML 21.3%
  • Other 1.1%