← Back to Gallery

N-Body Gravitational Simulation

by liv.garcia42Apr 26, 2026👁 1981 views

Direct O(N²) gravity integrator — every body pulls on every other. 4096 bodies, 50 timesteps, vectorized with rsqrtf intrinsic. ~3.4G interactions total.

#physics#simulation#performance
Sign in to vote or run
main.cu
Terminal Output
Press "Run" to execute on a real GPU.

Comments (0)

to post comments and vote
No comments yet. Be the first to share your thoughts!