Skip to content
Projetos

nuzzles/nbody-wasm-sim

Ver no GitHub

Sobre

An N-body WebAssembly simulation using Web GPU

Ciência e engenharia

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
0
em 7 dias
0
em 15 dias
0
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

GPU N-body WASM Simulation
+ +

Click here to demo the simulation.

Authors: @seabassjh, @simbleau


📖 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

Serve

Screenshot


📁 Directories

  • assets: directory contains textures and shaders.
  • src: directory contains the rust source code.

🔏 License

This project is dual-licensed under both Apache 2.0 and MIT licenses.

Explore projetos relacionados

Carregando…