Planet Simulation In Python - Tutorial

Published: 20 February 2022
on channel: Tech With Tim
540,122
16k

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/...
Code In This Video: https://github.com/techwithtim/Python...

Fix Pip (Windows):    • How to Install Pygame (Windows 8/10)  
Fix Pip (Mac): https://www .   • How to Install Pygame on Mac OSX (Fast-Sim...  

⭐️ 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-wit...

📸 Instagram:   / tech_with_tim  
📱 Twitter:   / techwithtimm  
⭐ Discord:   / discord  
📝 LinkedIn:   / 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_...
💰 Patreon:   / techwithtim  
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️

⭐️ Tags ⭐️
-Tech With Tim
-Planet Simulation
-Planet Simluation In Python
-How to Simulate Planets
-Python Simulation Tutorial

⭐️ Hashtags ⭐️
#TechWithTim #Python #PlanetSimulation


On this page of the site you can watch the video online Planet Simulation In Python - Tutorial with a duration of 01 hours 00 minute 02 second in good quality, which was uploaded by the user Tech With Tim 20 February 2022, share the link with friends and acquaintances, this video has already been watched 540,122 times on youtube and it was liked by 16 thousand viewers. Enjoy your viewing!