You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Most Complete CLRS Red-Black Tree Educational Tool
A fully animated, step-by-step Red-Black Tree visualizer built for students, educators, and algorithm enthusiasts.
Implements exact CLRS pseudocode with real-time animation, case explanations, and multi-format export.
πΈ Screenshots
ποΈ Build Mode β Dark & Light Theme
π CLRS Pseudocode Panel
π Analyze Mode
π¦ Export Options β PDF Β· PNG Β· MP4
π¬ Animation Demo
β¨ Features
ποΈ Build Mode β Interactive Tree Construction
Feature
Description
π¬ Step-by-Step Animation
Watch every insert / delete operation unfold one step at a time
π CLRS Pseudocode
Exact pseudocode from Introduction to Algorithms (4th ed.), synced line-by-line
π Case Explanations
Detailed breakdown of Insert Cases (0β3) and Delete Cases (0β4)
π Rotations Visualized
See LEFT-ROTATE and RIGHT-ROTATE happen in real time
β±οΈ Timeline Scrubber
Jump to any step Β· rewind Β· fast-forward β full VCR control
π Zoom & Pan
Scroll to zoom, drag to pan β explore large trees easily
π Live Stats
Node count Β· black-height Β· tree height β updated in real time
π Operation Log
Full history of every operation with clickable replay
π Analyze Mode β Comparison & Validation
Feature
Description
π BST vs RB-Tree
Side-by-side height and structure comparison
π² Random Generation
Generate trees with N random keys instantly
β Property Validation
Verify all 5 Red-Black Tree properties
π¬ Performance
Visualize how RB-Trees maintain $O(\log n)$ height
π¦ Export Options
Format
What You Get
π PDF
Full step-by-step walkthrough with pseudocode & case explanations
πΌοΈ PNG
High-resolution snapshot of current tree state
π₯ MP4
Animated video of the entire operation sequence
π¨ Themes
π Dark
Catppuccin Mocha β easy on the eyes
βοΈ Light
Catppuccin Latte β clean and bright
βοΈ Settings
Customize animation speed, node colors, and theme
ποΈ Architecture
About
π³ Interactive Red-Black Tree Visualizer β Animated CLRS Insert & Delete with step-by-step rotations & recoloring | Analyze Mode: find ALL insertion orders for any target tree via permutation search | Pseudocode sync, Dark/Light theme, PNG/PDF/MP4 export | Python