Skip to content

sqaxomonophonen/oob

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The theme is various fast ways to do large gravity simulations, but the main
build artifact turned into kind of a "star simulator" (adding pressure
alongside gravity) that renders videos like these in real-time:
https://www.youtube.com/watch?v=DqYFIrdAAio
https://mastodon.social/@sqx/113239969000196032

I also played around with the Barnes-Hut algorithm, and a Walter Dehnen "O(n)"
algorithm (https://arxiv.org/abs/astro-ph/0202512) which I struggled to
understand :-)

I ended up with a grid-based system, where acceleration from gravity is
calculated at each cell using convolution, which is optimized with FFTs.

About

FFT gravity calculation and other stuff

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors