Planet Simulation In Python - Tutorial
Welcome back to another tutorial video! In this video I am going to be showing you how to make a planet simulation using Python! The goal of this tutorial is to simulate the orbits of different planets around the sun using real astronomical values! We're also going to apply the force of gravity on each of the planets so we get an accurate elliptical orbit! I hope you enjoy!
💻 Thanks to BackTrace for sponsoring this video! Build better games with less bugs today for FREE by signing up for a developer account: https://hubs.la/Q012hTT00
💻 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 📄
Inspiration For This Video: https://fiftyexamples.readthedocs.io/en/latest/gravity.html
Code In This Video: https://github.com/techwithtim/Python-Planet-Simulation
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 | Planet Simulation
01:15 | Sponsor
02:12 | Setup & Installation
03:46 | Pygame Window Setup
09:28 | Creating Planets
18:50 | Initializing Planets (Using Real Values)
27:33 | Moving Planets Explanation (Math & Physics)
36:45 | Implementing Movement Physics
51:58 | Drawing Orbits
55:38 | Drawing Distance To Sun
59:18 | 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
-Planet Simulation
-Planet Simluation In Python
-How to Simulate Planets
-Python Simulation Tutorial
⭐️ Hashtags ⭐️
#TechWithTim #Python #PlanetSimulation
-
41:38
Tech With Tim
9 months ago $0.07 earned3 Python Automation Projects - For Beginners
3542 -
6:34:23
Barstool Gambling
13 hours agoDave Portnoy, Big Cat, and Co Sweat Out the Sunday Slate | Barstool Gambling Cave
62.4K6 -
25:34
Stephen Gardner
10 hours ago🔥Trump MUST BE KEPT ALIVE at all costs! | Exclusive RFK JR Interview!!
117K200 -
53:31
Standpoint with Gabe Groisman
16 hours agoEp 50. God is Real! with Academy Award-winning actor John Voight
125K53 -
35:04
Power Slap
7 days agoPower Slap: Road to the Title - Season 3 Episode 9 - Bring Out That Monster
835K112 -
15:52
Scammer Payback
1 month agoScammers Located in this Apartment
183K69 -
10:41
Breaking Points
3 days agoARSON, 'FREAK OFFS', LUBE: Diddy Indictment SHOCKING DETAILS
160K58 -
45:44
hickok45
19 hours agoSunday Shoot-a-Round # 247
113K55 -
3:34
Cooking with Gruel
1 day agoBrown Butter Deviled Eggs
101K12 -
11:06
Bearing
16 hours agoThe Office 2024 Australian Reboot Looks GARBAGE
84.4K30