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
-
12:49
Tech With Tim
1 year ago $0.01 earnedMust-Try Coding Automation Projects - That are Actually Useful…
144 -
1:26:16
Man in America
20 hours agoEXPOSED: Trump's COVERT War Against the European Banking Cartel w/ Tom Luongo
49K16 -
1:45:48
Glenn Greenwald
10 hours agoGlenn Reacts to News of the Week; Plus: Audience Q&A | SYSTEM UPDATE #443
95.5K71 -
11:05:38
Dr Disrespect
14 hours ago🔴LIVE - DR DISRESPECT - PUBG - 5 CHICKEN DINNERS CHALLENGE
195K19 -
3:23:12
I_Came_With_Fire_Podcast
14 hours agoSHALL NOT BE INFRINGED| THE TYRANNY OF UNELECTED BUREAUCRATS | XI BOWS
29K4 -
4:19:36
SynthTrax & DJ Cheezus Livestreams
15 hours agoFriday Night Synthwave 80s 90s Electronica and more DJ MIX Livestream THE GREAT EDO WARS OF 2067 Edition
55.9K4 -
4:45:15
RalliedLIVE
6 hours ago $1.24 earnedWarzone Domination w/ Ral
40.8K -
1:10:17
Sarah Westall
7 hours agoWorld Leaders Increasingly Display Panic Behavior as Economic Change Accelerates w/ Andy Schectman
64.8K12 -
59:54
Motherland Casino
4 hours ago $0.95 earnedScar x Ayanna
23K4 -
41:57
BonginoReport
10 hours agoProtecting Kids From WOKE Ideology in School (Ep. 35) - Nightly Scroll with Hayley Caronia -04/25/25
113K44