Skip to content
项目

关于

An N-body WebAssembly simulation using Web GPU

科学与工程

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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.

探索相关项目

加载中…