MoonBit Algorithm Trace & Visualization Kit

See why algorithms change.

FrontierLab records semantic events and complete visual scenes, then exports them to offline interactive HTML, deterministic SVG, or JSON.

Insertion sort

Insertion sort

Open the interactive comparison and swap trace.

Union-Find

Union-Find

Replay component merges and path compression.

A star

A* frontier

Explore visits, relaxations, and the final path.

Generate a player locally:

moon run cmd/main -- demo insertion-sort --format html --output insertion-sort.html

Source and documentation · Trace schema · Integration guide