Build mode: Add — click empty ground to place a state. Connect — click a state, then another (or the same for a self-loop), then type the symbol. Select — click a state, then use Set start / Toggle accept.
State Accepting Active (running) Rejected end
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

Finite Automaton Simulator

This simulator renders a deterministic finite automaton as a 3D graph of glowing state spheres connected by labeled transition arrows. Type a test string, hit Run, and watch the automaton hop from state to state one symbol at a time — the active state lights up, the traversed arrow pulses, and at the end the machine reports whether the string was accepted (green) or rejected (red). Pick from three classic regular-language presets, or switch to Custom and build your own automaton by clicking states and wiring transitions between them.