HelioSim – Real-time N-body simulator in WebAssembly
Show HN: HelioSim – Real-time N-body simulator in WebAssembly
Based, HelioSim – Real-time N-body simulator in WebAssembly works in show hn launch.
Profile
Hi HN!I built HelioSim, a real-time N-body gravitational system simulator running directly in the browser via WebAssembly.It’s written in C++ and uses OpenGL ES 3.0, GLFW, and Emscripten. The entire simulation and rendering pipeline runs in WebAssembly.Features: - Real-time N-body gravitational simulation - Predictive orbit trails - Collision handling - Time controls (slow motion / fast-forward) - Dynamic body spawningThis was my first larger WebAssembly project, and I was honestly surprised how well modern browsers handle a C++ + OpenGL ES pipeline compiled to WASM.One interesting challenge was bridging events and state between JavaScript and C++, which can honestly be a bit exhausting.Sour
As a business in show hn launch, HelioSim – Real-time N-body simulator in WebAssembly is listed here with the public details available about it.
It is recorded at the Show HN launch stage.
| Sector | Show HN launch |
|---|---|
| Stage | Show HN launch |
Website: koprolin.com/heliosim
Browse related
Create a free account