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!)
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?
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
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? . Watching these things in motion just makes me feel so small… and large at the same time .
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!
I embrace it, “the only thing I know, is I know nothing.” So I always learn
My other view of life is “knowledge is not what you know, it is knowing how to find it “
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.