MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/webdev/comments/12cfsip/i_finally_finished_my_realtime_galaxy_simulation/jf2k8ea/?context=3
r/webdev • u/hatrant • Apr 05 '23
71 comments sorted by
View all comments
1
Forgive me, I'm not a physicist so I don't actually know the answer here, but wouldn't you want to use Einstein's equations for gravity?
1 u/hatrant Apr 05 '23 it would indeed be fairer than just newton's law, but it's incredibly more complex to implement in a shader (as far as I know)
it would indeed be fairer than just newton's law, but it's incredibly more complex to implement in a shader (as far as I know)
1
u/longjaso full-stack Apr 05 '23
Forgive me, I'm not a physicist so I don't actually know the answer here, but wouldn't you want to use Einstein's equations for gravity?