In this video, I build a real-time sorting algorithm visualizer using C++ and Raylib. Watch as the sorting process comes to life through smooth animations and colorful graphics, demonstrating how the algorithm works under the hood with visual feedback for each comparison and swap operation.
Source Code: https://gist.github.com/bi3mer/08864cbd272c66e4a1eb6dfeeb9ecce6 Raylib Documentation: https://www.raylib.com/
(I added a restart functionality to the visualization off camera, where you can press ‘r’ to restart the sorting visualization with the array randomly shuffled again.)