Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
An N-body WebAssembly simulation using Web GPU
| Date | Stars |
|---|---|
| 2026-07-25 | 251 |
| 2026-07-28 | 251 |
| 2026-07-30 | 251 |
| 2026-08-06 | 251 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
<div align="center"> <h1>GPU N-body WASM Simulation </br> <a href="https://www.rust-lang.org/"><img src="https://simpleicons.org/icons/rust.svg" width="50px" height="50px"/></a> + <a href="https://www.rust-lang.org/what/wasm"><img src="https://simpleicons.org/icons/webassembly.svg" width="50px" height="50px"/></a> + <a href="https://wgpu.rs/"><img src="https://wgpu.rs/logo.min.svg" width="50px" height="50px"/></a> </h1> <h2>Click <a href="https://simbleau.github.io/nbody-wasm-sim">here</a> to demo the simulation.</h2> <img src="demo.gif" width="300px" height="300px"/> Authors: [@seabassjh](https://github.com/seabassjh), [@simbleau](https://github.com/simblau) </div> --- ## 📖 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](https://www.rust-lang.org/) - [trunk](https://trunkrs.dev/) (`cargo install trunk`) - [wasm32-unkown-unknown](https://yew.rs/docs/getting-started/introduction#install-webassembly-target) (`rustup target add wasm32-unknown-unknown`) ## Serve - Run: `trunk serve` - Preview: [`http://localhost:8080/`](http://localhost:8080/)  --- ## 📁 Directories - [__`assets`__](./assets/): directory contains textures and shaders. - [__`src`__](./src/): directory contains the rust source code. --- ## 🔏 License This project is dual-licensed under both [Apache 2.0](LICENSE-APACHE) and [MIT](LICENSE-MIT) licenses.
Excerpt of 1,877 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:570148b793d9356d, topic:simulation