Wolfram Research

FiniteStateIndicatorIcon

Contributed by: Stephen Wolfram

Source Notebook

Gives graphics to indicate the state of a finite state system, like the head of a Turing machine

ResourceFunction["FiniteStateIndicatorIcon"][{x,y},{s,stot}]

creates an icon at position {x,y} that indicates state s out of a total of stot states.

Details and Options

This iconography is what RulePlot uses for head states from TuringMachine.

Examples

Basic Examples

Show icons for the states in a 4-state system:

In[1]:=
Graphics[Table[
  ResourceFunction["FiniteStateIndicatorIcon"][{n, 0}, {n, 4}], {n, 4}]]
Out[1]=

Resource History