-
Notifications
You must be signed in to change notification settings - Fork 0
Releases: Arshanhp/RBTree-Visualizer
Releases Β· Arshanhp/RBTree-Visualizer
v1.0
v1.0
Pre-release
Pre-release
π³ RBTree Visualizer v1.0
A CLRS-based Red-Black Tree Visualizer with Step-by-Step Animation
Built with Python & Tkinter | CLRS 4th Edition Algorithms
π₯ Download & Install
| Platform | How to Get |
|---|---|
| πͺ Windows EXE | β¬οΈ Download RBTree-Visualizer.exe from Assets below β Double-click β Done! |
| π From Source | git clone β pip install Pillow reportlab opencv-python imageio β python main.py |
π‘ No Python installation needed for the EXE version β just download and run!
π¬ What Does It Do?
RBTree Visualizer brings your Data Structures & Algorithms textbook to life! Watch Red-Black Tree operations happen step-by-step with synchronized pseudocode, case explanations, and beautiful animations.
β¨ Features at a Glance
π¨ Build Mode β Interactive Learning
| Feature | Description |
|---|---|
| π― CLRS Insert & Delete | Exact algorithm from CLRS 4th Edition |
| π Pseudocode Panel | Real-time synced with highlighted current line |
| π§ Case Explanations | Insert Cases 0-3, Delete Cases 0-4 with full detail |
| β±οΈ Timeline Scrubber | Navigate forward/backward through any step |
| π Operation Log | Clickable history β jump to any past operation |
| β‘ Adjustable Speed | Control animation speed with a slider |
π Analyze Mode β Batch Operations
| Feature | Description |
|---|---|
| π¦ Batch Insert/Delete | Process multiple operations at once |
| β Tree Validation | Verify BST ordering + all 5 RB properties |
| π² Random Generation | Generate random valid RB trees instantly |
π¨ Visual & UX
| Feature | Description |
|---|---|
| πβοΈ Dark & Light Theme | Full UI theme switching β every element updates |
| π Zoom & Pan | Mouse wheel zoom + click-drag pan on canvas |
| β¨ Smooth Animations | Node movements, rotations, and recoloring animated |
| π― Node Highlighting | Current node, parent, uncle, sibling all highlighted |
π€ Export Options
| Format | What You Get |
|---|---|
| πΌοΈ PNG | High-quality snapshot of current tree state |
| π PDF | Complete step-by-step walkthrough document |
| π₯ MP4 | Animated video recording of the entire operation |
π₯οΈ System Requirements
For EXE (Recommended)
- β Windows 10 / 11 (64-bit)
- β No additional software needed
For Source Code
- β Python 3.8+
- β
pip install Pillow reportlab opencv-python imageio