Generic Visualizer Engine

Make algorithms
come alive.

An open-source TypeScript engine for building interactive algorithm and computer science visualizations.

npm install @gvejs/react@0.1.0

Bubble Sort

Step through the comparisons and swaps.

Record a trace

Capture how an algorithm runs on a specific input and serialize the result as JSON.

Explore every step

Pause, rewind, and seek through changes in data, pointers, and variables.

Render in your app

Embed the React visualizer or use the layout functions to build your own view.

Package architecture

Core defines the trace contract. Algorithms produce events, runtime replays them, and renderers turn visual state into layouts. React assembles the interface and themes supply the styles.