Python gravity simulation

preview_player
Показать описание
Python program using tkinter for gui.
(self programmed)

2k smaller bodies (planets) and 500 bigger bodies (stars).
Collision not implemented.
Not real time. (two hours real time 🥲)

Calculation of gravitational effects with Velocity Verlet integration and the Barnes-Hut algorythm.
Рекомендации по теме
Комментарии
Автор

This is amazing, reminds me of a video I uploaded on youtube months ago, the title is:

What is Sub Dimension?

In this video I have posted pictures, which visually explain my idea, about a sub-dimension between the fractal and third dimension.

Observe:
I know it already exist an idea about a dimension between the fourth and third, called fractal, but I think this fractal dimension instead exist between sub & fourth dimension, more like:
a sub-dimension exist between the third & fractal dimension.

However.

But what do I mean by Sub-Dimension?

Well, to understand that, you have to think one dimension backwards. And that what we see around us, and the terrain (not including solids) we stand on, is two dimensional and not three. But back to the question! If you imagine the terrain in the 2d creature's world (megaman NES), it is not two dimensional, but one. There is also a sub-dimension (flatlander short story) between the second and third dimensions, where the terrain, however, is two dimensional, not one!

This means that the terrain is spread over the entire 2D room (volume terrain), and that a creature there can turn around in all directions and see trees, bushes, flowers, grass and lakes and more. To be able to see something and so that not everything overlaps, they can focus their vision in front of, behind and inside objects with x ray vision! They can also move freely through the solid terrain!!!

Then imagine this as a three-dimensional terrain, that is, a sub-dimension between the third and fourth dimensions.
How cool would it have been, to see all that?

Perhaps this is the explanation why spirits and ghosts pass through walls and solid objects.

Have been awesome if someone make a mod, or game like that!

By the way, cool video!
Thanks for reading!
Take care of yourself!

VolumetricTerrain-hzci
Автор

I like it just a some collisions and it would be a good physics sim

gaystillplays
visit shbcf.ru