https://github.com/eugenedevastator/computenbody
Simulating NBody via compute shader
https://github.com/eugenedevastator/computenbody
computeshader nbody nbody-simulation unity
Last synced: about 1 month ago
JSON representation
Simulating NBody via compute shader
- Host: GitHub
- URL: https://github.com/eugenedevastator/computenbody
- Owner: EugeneDevastator
- License: gpl-3.0
- Created: 2022-04-16T09:45:29.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-16T09:52:37.000Z (about 4 years ago)
- Last Synced: 2025-03-20T19:36:02.996Z (over 1 year ago)
- Topics: computeshader, nbody, nbody-simulation, unity
- Language: C#
- Homepage:
- Size: 11.5 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Compute N-Body
Simulating NBody via compute shader
See "compute" scene.
Quick flow:
1. pass particles as array.
2. calculate forces in 2d texture
3. sum the matrix via fancy parallelization.
4. apply forces.
