A while back, I was watching a show on Netflix called 3 Body Problem. As the name suggests, one of the plot points was about the classical three-body problem, which inspired me to create a simple simulation program. Since it had been a while since I’d done any GPU-accelerated graphics programming, it seemed like the perfect opportunity to brush up and learn some new things. I was also learning Rust at the time, so it felt natural to use it. I decided to use wgpu along with winit for window creation and event handling. Anyways, here’s the result: nbody simulation