Proyek
Lihat di GitHub
nuzzles/nbody-wasm-sim
Tentang
An N-body WebAssembly simulation using Web GPU
Sains dan teknikPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- 0
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
Asli๐ 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.
Jelajahi proyek terkait
Memuatโฆ
