Premium Only Content
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
1 year ago $0.08 earned3 Python Automation Projects - For Beginners
6242 -
2:00:25
Steven Crowder
4 hours agoNo Influencer Safe: New X Update Exposed A Major Psyop
357K212 -
17:38
Professor Nez
1 hour agoTHIS will HAUNT Jasmine Crockett for Years...
7.9K16 -
56:36
The Rubin Report
3 hours agoTense Moment at Trump-Mamdani Meeting That No One Predicted
31.1K38 -
9:34
The White House
3 hours agoFirst Lady Melania Trump Welcomes the Official 2025 White House Christmas Tree
21.2K12 -
LIVE
LFA TV
16 hours agoLIVE & BREAKING NEWS! | MONDAY 11/24/25
2,504 watching -
1:01:32
VINCE
5 hours agoNew Info Blows the Lid Off The Butler Assassination Attempt | Episode 175 - 11/24/25 VINCE
240K208 -
1:46:29
The Mel K Show
2 hours agoMORNINGS WITH MEL K - A Time to Choose: The People Must Reclaim Power 11-24-25
22.1K4 -
1:23:10
The Shannon Joy Show
2 hours agoMarjorie Taylor Greene DUMPS Trump, Defects To ‘America First’ Setting Up NEW Paradigm For 2028 Presidential Election
15.7K8 -
53:41
Grant Stinchfield
19 hours ago $2.12 earnedABC SETUP: Michael McCaul Falls for Martha Raddatz Trap on Live TV!
13.1K1