Python Tkinter License CLRS Version
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.
RBTree Visualizer β Dark & Light Splash Screen
Build Mode β Dark and Light Theme
| 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 |
| 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 |
| 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 |
| π Dark | Catppuccin Mocha β easy on the eyes |
| βοΈ Light | Catppuccin Latte β clean and bright |
| βοΈ Settings | Customize animation speed, node colors, and theme |