This is a project I worked on to practice parallel programming with CUDA. It is on N-body simulation and utilizes the Barnes-Hut algorithm to simulate the stars and planets under the influence of gravitational forces. I've implemented spiral galaxy and galaxies collision. The visualizations are not the prettiest, but you can find them through the README's of the repo.
repo: https://github.com/Hsin-Hung/N-body-simulation
galaxy collision: https://youtu.be/Krb5nEYRVaM
spiral galaxy: https://youtu.be/Sap3lGzhlzE
Feel free to share any other interesting parallel programming project ideas that I can work on next!
an n-body simulation using both direct-sum and Barnes-Hut algorithms and implemented in CUDA - GitHub - Hsin-Hung/N-body-simulation: an n-body simulation using both direct-sum and Barnes-Hut algori...
Galaxy collision simulation implemented in CUDA using the Barnes-Hut algorithm with 50000 bodies.
Spiral galaxy simulation implemented in CUDA using the Barnes-Hut algorithm with 1 million bodies.