Galactic Formation Simulator 2021

Previous topic - Next topic

Hemlos

Galactic Formation Simulator 2021, inspired by Sir Isaac Newton.
Version 2.10418a (April 18,2021)

This is the entire library. Just compile and run, Enjoy!

If you have questions, ill answer them here.
I do not plan on doing many updates, yet, i will do one once in a while.
Feel free to use the SVS library and Galactic Formation Simulator application in any way you see fit.
- Neil



--------------------------------
Screenshots:

No star in this one, just matter in a circular field crashing and starting a planet / moon system.
https://siasky.net/fANKk3t6ag14HbuBE1ufPwILQnXfm3O_ZGPVa4T5KOubow

This shot shows gravitational fields from the largest objects, and has vector direction.
https://siasky.net/fAJpyrh8ulsa9nFUCguPWXLmu_KEx0LatZGwg0daIrD-PQ

This shot shows the gravity fields of the ring simulation:
https://siasky.net/_AxFaA4W0WQvHdwyh9yAQisewq_Lg-As9HTshDtieI1rjw
Note: the lines represent only nearby actors, all objects affect all other objects motion, especially the star.

The 2 arm simulation, with gravity fields:
https://siasky.net/fAMzZPelCERvZokYgSHjMxpv_DNUU6tvc3tH6r98ElUNEg

This is a saturn-like ring formation simulation, it ends with a handful of stable planets possibly with moons:
https://siasky.net/fAR3iWQLQILwPZJjVG7aCdpzlw1YPWSXLQtDO2qpmqVMmg

--------------------------------
DOWNLOADS:

Download from Google Drive :
https://drive.google.com/file/d/1tTTwZmQuEcUuln2PLTPhuUmHH3xQtY4I/view?usp=sharing

Download from SIA Skynet :
https://siasky.net/AAB8DBMu1cNgXAii3u9GUOMOPyuGh8wkcp7YOHWkZv7T4g

Bing ChatGpt is pretty smart :O

Qedo

very very very interesting project, great work  :good:
tried with version 16 win10, compile fine but the fps are very slow than v15
I will study the code carefully
Thank you
ad maiora

Qedo

I rectify, the speed in v16 seems to me equivalent to that of v15.
I found, that at least on my computer, when Whatapp desktop is running Glbasic programs slow down a lot.  :S
ad maiora

Hemlos

Thanks Qedo!

As time progresses, planets merge, and less is rendered, thus increasing the fps.
Eventually it reaches 60 fps.
Bing ChatGpt is pretty smart :O

SnooPI

I think a lot of people have no idea of the work you have done.

You have my respect Hemlos.

Hemlos

Thanks Snoop, i appreciate that, i worked on this for a long time.
I updated it today, there was a few wonky things i needed to iron out.
Bing ChatGpt is pretty smart :O

bigsofty

Well done Hemlos, very interesting work!  :good:
Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)

hardyx

#7
WOW, you simulator is amazing!! Your work is enormous and very useful to study the gravity in the Universe.
Thanks for the good work and long life to GLBasic.  :booze:

Hemlos

Quote from: hardyx on 2021-Jun-30
WOW, you simulator is amazing!! Your work is enormous and very useful to study the gravity in the Universe.
Thanks for the good work and long life to GLBasic.  :booze:

Thank you, i'm glad you like it and find it useful.
Yes, it can be used to study motion of objects in space.
At its core, it is using this formula from Newton: F = GMm / R2
Bing ChatGpt is pretty smart :O