Premium Only Content

Python Sorting Algorithm Visualizer Tutorial
Welcome back to another video! In todays video I'm going to be showing you to create a sorting algorithm visualizer in Python using Pygame! I have a quick demo that you can see and I will also talk about some of the prerequisites as this is not a beginner tutorial. I hope that you enjoy!
💻 ProgrammingExpert is the best platform to learn how to code and become a software engineer as fast as possible! Check it out here: https://programmingexpert.io/tim and use code "tim" for a discount!
📄 Resources 📄
Code in this video: https://github.com/techwithtim/Sorting-Algorithm-Visualizer
Python Generators Explained: https://www.youtube.com/watch?v=u3T7hmLthUU
Fix Pip (Windows): https://www.youtube.com/watch?v=AdUZArA-kZw&t=204s
Fix Pip (Mac): https://www.youtube.com/watch?v=E-WhAS6qzsU
⭐️ Timestamps ⭐️
00:00:00 | Overview
00:00:27 | Project Demo
00:01:49 | Prerequisites
00:02:46 | Pygame Setup
00:03:35 | DrawInformation Class
00:15:15 | Generating Starting List
00:16:50 | Pygame Event Loop
00:23:00 | Drawing On The Screen
00:34:03 | Sorting Controls
00:45:06 | Implementing Bubble Sort
01:05:10 | Cosmetic Additions
01:08:48 | Implementing Insertion Sort
01:14:54 | Conclusion
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
👕 Merchandise: https://teespring.com/stores/tech-with-tim-merch-shop
📸 Instagram: https://www.instagram.com/tech_with_tim
📱 Twitter: https://twitter.com/TechWithTimm
⭐ Discord: https://discord.gg/twt
📝 LinkedIn: https://www.linkedin.com/in/tim-ruscica-82631b179/
🌎 Website: https://techwithtim.net
📂 GitHub: https://github.com/techwithtim
🔊 Podcast: https://anchor.fm/tech-with-tim
🎬 My YouTube Gear: https://www.techwithtim.net/gear/
💵 One-Time Donations: https://www.paypal.com/donate?hosted_button_id=CU9FV329ADNT8
💰 Patreon: https://www.patreon.com/techwithtim
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
⭐️ Tags ⭐️
-Tech With Tim
-Sorting Algorithm
-Python
-Visualizer
⭐️ Hashtags ⭐️
#TechWithTim #Python #Visualizer
-
11:30
Tech With Tim
1 year ago $0.01 earnedBuilding A Machine Learning Resume Project From Scratch
2333 -
14:41
IsaacButterfield
1 day ago $1.27 earnedFree Speech Is DEAD In Australia!!
9.96K20 -
59:59
SGT Report
10 hours agoIT'S ALL THEATER -- Seth Holehouse
12.5K31 -
LIVE
BEK TV
22 hours agoTrent Loos in the Morning - 10/03/2025
529 watching -
LIVE
The Bubba Army
21 hours agoDiddy BEGS for Mercy in Judge Letter - Bubba the Love Sponge® Show | 10/03/25
2,641 watching -
LIVE
ZENNY
2 hours agoBO7 IS HERE BOT POV MF HAHAHAHA 6v6 PG18+ | UNFILTERED CHAT | CURSES AND BAD
122 watching -
15:17
Actual Justice Warrior
2 days agoBLM Leader CONVICTED Of Fraud
15.5K32 -
13:19
Zoufry
2 days agoThe Grandpa Gang Who Robbed a Bang For $16 Million
14.4K4 -
2:18:45
The China Show
3 days agoChinese Citizens STRIKE BACK + China's Sick New Punishment Exposed - #282
17.5K5 -
25:20
The Chris Cuomo Project
1 day agoChris Cuomo EXPOSES Lies Behind the Government Shutdown
16.3K44