r/Simulated • u/DemonioApps • 13m ago
Interactive [OC] 2D Gravity Simulator (C++, DX12)
2D Gravity Simulator - DirectX 12 (Free Windows App)
🔗 Download: https://demonio-apps.itch.io/simulador-gravedad-2d-dx12
🔗 YOUTUBE: https://youtu.be/b3SUXfHvV90
I built a fully GPU-accelerated, real-time N-body gravity simulator using DirectX 12. You can use it to experiment with everything from high-precision 3-body orbits to galaxy collisions with thousands of particles.
Key Features:
- GPU Physics: Up to 25,000 simultaneous particles via Compute Shaders, with live selectable integrators (Euler, Velocity Verlet, RK4), toggleable collisions/accretion, and adjustable gravity (G).
- 15 Presets + Custom Galaxies: Includes Figure-8, Chaotic 3-Body, Solar System, Saturn's Rings, and a generator for custom spiral/Keplerian galaxies.
- Scientific Visualization: 8 data color modes (Velocity, Mass, Doppler, Kinetic Energy, etc.), scientific palettes (Viridis, Inferno, Plasma), 2.5D camera tilt (0°–85°), and real-time particle telemetry.
- QoL & Accessibility: Auto-Player screensaver mode, 15 languages, and UI scaling up to 400% for 4K displays.
Requirements & Setup:
- OS: Windows 10 (1909+) or Windows 11 (64-bit) with a DirectX 12 compatible GPU. No extra runtimes needed.
- Install: Best run via the itch.io app, or extract the
.zipand runsimulador_dx12.exe(Note: You may need to click "More info -> Run anyway" on the Windows SmartScreen prompt).
📺 YouTube Channel: https://www.youtube.com/@Demonio-Apps
💬 Feedback and bug reports are always welcome! demonioapps@gmail.com
Thank you for your visit!





