Programming gravity simulator in python.

preview_player
Показать описание
A little while ago i made a gravity simulator using pygame and math module in python and this video explains how it works. It's a simple 2d gravity simulator project in python.

Рекомендации по теме
Комментарии
Автор

I gave this video the 100th comment. Everyone thank me for making the second part possible 😂.

partisani_
Автор

Next level content 🔥
Python+physics 🔥🥵

abhishekn
Автор

This computation scheme may be unstable because the small computation errors acts in the same direction: they increase the full energy of the system on each step. This is an issue which was meet by astronomers in 19-20 centuries. One of ways may be to calculate full energy and watch a delta on each step and then correct velocities of the planets.

andreyzabrodin
Автор

I would recommend Runge-Kutta 4 for simulating something like that. It is way more stable than Eulers Method, but at the same difficulty level.

piquer
Автор

Hey I don’t know if you’ll see this but I want to create a oribit simulator using python. Im a freshmen in high school and I have no idea where to start I want to learn python and I want to learn physics do you have any tips

johnhopkins-my
visit shbcf.ru