Projets
Voir sur GitHub
nuzzles/nbody-wasm-sim
À propos
An N-body WebAssembly simulation using Web GPU
Sciences et ingénierieProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
Original📖 Overview
This repository is a 2D N-body simulation of a dynamical system of bodies, under the influence of physical forces such as gravity. The simulation is written completely in Rust with WebGPU and WGSL shading, exported to WebAssembly. We deploy the demo with GitHub Actions.
🔸 Simulations like these are common in astrophysics and are used to understand the evolution of large-scale universal structures.
🚀 Serve Locally
Dependencies
- Rust
- trunk (
cargo install trunk) - wasm32-unkown-unknown (
rustup target add wasm32-unknown-unknown)
Serve
- Run:
trunk serve - Preview:
http://localhost:8080/

📁 Directories
🔏 License
This project is dual-licensed under both Apache 2.0 and MIT licenses.
Explorer des projets similaires
Chargement…
