An educational Java/Swing GUI that animates every AVL rotation frame by frame, at whatever speed keeps a confused Data Structures student from crying — adjustable, no judgment.
Every CS student learns the same way that AVL trees "self-balance," and almost none of them see it actually happen — the textbook shows a before-and-after diagram and expects you to believe the rotation in between. AVL Tree Visualizer is my objection to that. It's a small Swing desktop app that makes self-balancing binary search trees tangible instead of abstract: keys are inserted one at a time, and whenever a rotation is needed to restore balance, the GUI animates it rather than just redrawing the final tree, so you can actually watch an LL, RR, LR, or RL rotation happen.
Don’t take my word for it — the receipts are on GitHubBuilding the animator forced me to be precise about exactly where every node starts and ends up for each of the four rotation cases — a level of precision that's suspiciously easy to skip when you already "understand" the algorithm on paper. I've since used this exact tool, unprompted, to win a whiteboard argument about AVL rotations. Worth the weekend.