https://github.com/cloneofsimo/n-body-dynamic-cuda
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (4.5%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: cloneofsimo
- Language: Cuda
- Default Branch: master
- Size: 12.9 MB
Statistics
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Simple N Body Dynamics Simulation with CUDA
This is an attempt to simulate the following fascinating demonstration on youtube.
https://www.youtube.com/watch?v=C5Jkgvw-Z6E
We make good use of shared memory, memory coelescing, unified memory with CUDA programming model. The overall code is under 200 lines.
Compile the project with
sh
nvcc -o main main.cu -I .. -lcuda $(pkg-config opencv4 --libs --cflags)
Run the software with good parameters.
sh
./main x.avi 0.0001 0.0001 0.01
Paramters are <video output path> <weight> <string tension> <drag> <n_body>, respectively.
Final Dynamic Class Visualization
Of course, this fractal nature is very interesting.




Example Dynamics Output
N = 3

N = 5

N = 6

N = 16

Owner
- Name: Simo Ryu
- Login: cloneofsimo
- Kind: user
- Company: Corca AI
- Website: https://fb.com/MLPaperFetchingCat
- Twitter: cloneofsimo
- Repositories: 10
- Profile: https://github.com/cloneofsimo
Cats are Turing machines cloneofsimo@gmail.com
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0