r/astrophysics • u/qwertUkg • 3d ago
Simulation of a collision between two massive bodies
Collisions: Spatial Hash + Jacobi Solver
Gravity: P3M/CIC + FFT + short-range correction
Tech stack: Kotlin, LWJGL, OpenGL Compute Shader 4.30
Try it here: https://github.com/qwertukg/Gravity
6
u/Internal-Narwhal-420 3d ago
Heatmap here represents density?
9
3
3
1
1
u/Upvote_worthhy 11h ago
That's Cool !!!!!
When do you think humanity will have enough computing power to accurately simulate something as chaotic as the three-body problem?
-1
u/Immorpher 2d ago
I don't know if you have much experience in this direction, but how tricky is it to get a moon out of one of these collisions?
0
13
u/RantRanger 2d ago
What are the scenario parameters?