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
-
41:38
Tech With Tim
1 year ago $0.07 earned3 Python Automation Projects - For Beginners
4132 -
56:02
Sarah Westall
9 hours agoBiohacking & Peptides: Weight loss, Anti-Aging & Performance – Myth vs Reality w/ Dr. Diane Kazer
45.3K14 -
11:22
Bearing
19 hours ago"Anxious & Confused" Federal Workers FREAK OUT Over DOGE Efficiency Email 💥
64.2K64 -
1:31:20
Flyover Conservatives
1 day agoUS STOCK MARKET: Sinking Ship - Dr. Kirk Elliott; How I Fought Back Against Woke Schools & Stopped Gender Bathrooms - Stacy Washington | FOC Show
67.7K1 -
1:08:09
Donald Trump Jr.
14 hours agoFBI Dream Team, Plus Taking Your Questions Live! | Triggered Ep.219
202K273 -
7:32:37
Akademiks
13 hours agoDrake and PartyNextDoor '$$$4U' Album Sells 250K first week. BIG AK IS BACK.
120K18 -
3:12:08
MyronGainesX
12 hours ago $32.10 earnedDan Bongino Named FBI Deputy Director, Trump Meets Macron, And More!
97.5K29 -
3:12:31
vivafrei
12 hours agoBarnes Live from Seattle - Defending Benshoof in a Case that is CRAY CRAY!
155K50 -
2:12:12
Robert Gouveia
12 hours agoLiberals EXPLODE over Elon's Email; Lawsuits FLY; Sanctions?? Congrats Dan!
116K40 -
1:33:36
Redacted News
12 hours agoBREAKING! PUTIN LAUNCHES MASSIVE OFFENSIVE IN UKRAINE AS EUROPEAN LEADERS PUSH FOR MORE WAR
193K271