Algorithms & DS Interactive 3D Simulators

Explore Computer Science in Live 3D

High-fidelity, interactive algorithm simulators engineered with Three.js, real-time autonomous robot animations, and live line-by-line code tracking. Select any simulator below to launch.

42 [TOS]
28
15
LIFO Structure

Stack 3D

O(1)

Interactive 3D Last-In, First-Out (LIFO) stack tower. Push, Pop, and Peek square blocks with Dexter the autonomous robot, synchronized with a vertical 1D memory array and live pseudocode.

Three.js 3D Dexter Character Web Audio SFX 1D Memory Array
Launch Stack Simulator
Left [0..1]
12
38
VS
Right [2..3]
09
45
Divide & Conquer

Merge Sort 3D

O(n log n)

Fullscreen 3D recursive sorting arena. Watch arrays divide into left/right branches, observe comparison highlights, and guide Dexter as elements are merged into temporary buffers in ascending order.

Step Playback Comparison Laser Value-Pitched SFX Custom Arrays
Launch Merge Sort Simulator
17
54
26
93
Comparison Sort

Bubble Sort 3D

O(n²)

Adjacent pair comparisons with physical 3D curved arc swaps. Observe largest elements bubble up to the right, watch locked passes turn emerald, and test early-break optimizations.

3D Arc Swaps Pass Locking Early Break Dexter Bot
Launch Bubble Sort

Platform Capabilities

• Built for modern learning
🎮
3D Spatial Stages

Full 360° OrbitControls viewports with dynamic lighting, shadows, and smooth GSAP camera transitions.

🤖
Dexter Autonomous Bot

Dexter physically walks to elements, inspects comparisons, transports data blocks, and narrates every step.

💻
Live Pseudocode

Follow along line-by-line in JavaScript, C++, or Python with active line highlighting synchronized with 3D frames.

🎧
Web Audio Synthesis

Procedural frequencies matched to block values, comparison chimes, and victory fanfares.