Simulation: from the big bang to black holes and galaxies!

this is probably one of the coolest physics engines I’ve coded, what do you guys think?

(edit 1: if it looks blurry, please select the 1080p option! the video is 5 minutes long, so if it stops after a few seconds, please click again so it loads the full video!)

(edit 2: i’d love to have better computer parts to scale this, maybe one day!)

6 Likes

Very cool. I love seeing and messing with these kinds of things.

Any insights on the engine? Language? Is there gravity to each node? What’s causing the specific groups to continuously be driven in towards eachother?

3 Likes

thanks man! i used c++ and yes, there is gravity, I used the same method as the big simulations of the cosmos that are currently running on super computers

2 Likes

wow, sick devotee badge, haven’t seen many of those around!

1 Like

I want devotee badge, but I only been in forum 109 days I’m a super noob :rabbit::honeybee::infinity::heart::four_leaf_clover::arrows_counterclockwise:

Out of hearts :heart::heart::heart::heart:

2 Likes

C++! Nice! That is a pleasant surprise.

The only stuff that’s even remotely similar that I’ve messed around with is this:

And it was not by any means an actual simulation. Just a simplification of:

A constant unit time step Δt = 1 for each step, and a constant unit mass m = 1 for all particles. As a result, a force F acting on a particle is equivalent to a constant acceleration a over the time interval Δt, and can be simulated simply by adding to the particle’s velocity, which is then added to the particle’s position.

I have a lot of fun with these 3D graph simulations though. I don’t mean to say that yours is just that, it’s just what they always remind me of, and I can’t get enough of them.

Hope to see more & would love to understanding more of what’s going on. Code? pls? :star_struck: . Watching these things in motion just makes me feel so small… and large at the same time :crazy_face: .

2 Likes

that’s a cool repository on graphs!

yeah I went with c++ because of performance, most physics engines are built on it so it made sense to go that route.

I find it very interesting that in my simulation, if you scale the black holes you arrive at schwarzschild’s and kerr’s black holes (rotating and non rotating blackholes).

I haven’t tried to add the electromagnetic, higg’s, strong and weak nuclear fields and I do wonder if my code is scaled if it’ll have emergent properties and also arrive at those fields.

For now I’m not open sourcing the code, maybe in the future I’ll release it!

oh, and I can 100% resonate with felling both big and small when watching such simulations! at least, on the scale of known physics, we are more towards the bigger side of things!

2 Likes

I wouldn’t say that you a super noob! you are too hard on yourself mitchell!

2 Likes

I embrace it, “the only thing I know, is I know nothing.” So I always learn :rabbit::honeybee::infinity::heart::four_leaf_clover::repeat:
My other view of life is “knowledge is not what you know, it is knowing how to find it “:mirror:

3 Likes

the further you go, the more unknowns you find! I like how humble your view in life is! as always, I’m sure you’ll get that badge eventually!

3 Likes

The journey of a thousand miles begins with one step. - Lao Tzu

4 Likes

4 Likes

The Chinese proverb “读万卷书,行万里路” (dú wàn juǎn shū, xíng wàn lǐ lù) translates to “read ten thousand books, travel ten thousand miles.” Attributed to the Ming Dynasty scholar Dong Qichang (1555–1636), this saying emphasizes the importance of balancing theoretical knowledge with practical experience.

Image(Wide, 读万卷书,行万里路)

2 Likes

uh, so I guess this (@phyde1001 image) could be put into SORA now

1 Like