Chip-Firing Visualizer

Divisor Visualization

Select one vertex as q, then click Burn or press B
Controls

Modes

Fire modeBox-drag to select multiple vertices; selection persists until fired
Pan modeDrag canvas to pan; drag vertices to reposition
Build modeDouble-click canvas to add vertex; Shift-drag vertex→vertex to add edge; right-click vertex or edge to delete

Chip-firing

Double-click vertexFire that vertex (send one chip along each edge)
Shift + double-click vertexBorrow at that vertex (pull one chip from each neighbor)
Select + Enter / Fire SelectedFire all selected vertices simultaneously
Shift + Enter / Borrow SelectedBorrow at all selected vertices simultaneously
Right-click vertexContext menu: add / remove / set chips (Pan & Fire modes)
Zero DivisorSet all vertices to 0 chips
Canonical DivisorSet each vertex to deg(v) − 2
UndoUndo last chip or graph change (all operations supported)

Dhar's burning algorithm

Select one vertex + B / BurnRun Dhar's algorithm from that vertex (q); animates burn steps
Clear BurnRemove burn highlighting

JSON import / export

Import JSONLoad a graph from Graph / Finite State Machine Designer JSON format
Export JSONExport current graph to the same format

JSON format compatible with Graph / Finite State Machine Designer (GFSM Designer).

JSON