프로젝트
GitHub에서 보기
nuzzles/nbody-wasm-sim
소개
An N-body WebAssembly simulation using Web GPU
과학 및 공학측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
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.
관련 프로젝트 살펴보기
불러오는 중…
