• Stars
    star
    193
  • Rank 201,081 (Top 4 %)
  • Language
    Rust
  • Created over 2 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An N-body WebAssembly simulation using Web GPU

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.

More Repositories

1

nvtx

A safe Rust FFI binding for the NVIDIAยฎ Tools Extension SDK (NVTX).
Rust
83
star
2

vong

The first compute-centric vector graphic video game
Rust
66
star
3

convo

A modern dialogue executor and tree parser using YAML.
Rust
26
star
4

cddns

A modern, hackable, green DDNS service and cli for Cloudflare.
Rust
15
star
5

website

My personal website's source code
Rust
11
star
6

vgpu-bench

A suite to test and bench vector graphic rendering techniques (mostly on the GPU) and export analytics.
Rust
10
star
7

chat-translator

Use Google Translate API to translate chat messages between over 100 languages in this RuneLite Plugin.
Java
8
star
8

simbleau.github.io

Spencer's personal blog
HTML
8
star
9

resume

My personal rรฉsumรฉ's source code.
TeX
7
star
10

cssugar

A CSS library for Rust, focusing on ergnomic abstractions.
Rust
6
star
11

home-ops

A mono repository for my home infrastructure and K3S kubernetes cluster. Managed with Ansible, Flux, Renovate, and GitHub Actions, with adherence to Infrastructure as Code (IaC) and GitOps practices.
Shell
6
star
12

vgpu

vgpu is a barebones prototype engine for interactive, hardware-accelerated vector graphics written in rust. It focuses on scalability, response time, and simulation.
Rust
6
star
13

spotify-audio-analysis

Deep learning methods for reverse-engineering the Echo Nest Audio Analysis using a large collection of segment frequency spectra and their corresponding pitch, timbre, and loudness as determined by Jehanโ€™s algorithms.
Python
4
star
14

leetcode-in-rust

My leetcode practice and solutions.
Rust
3
star
15

third-party-roster

[DEPRECATED] Use a third-party JSON roster to assist clan owners with rank management in this RuneLite Plugin.
Java
3
star
16

robotgame

An AI robot for the robotgame project, which beats every bot seen in faster runtime by introducing multiple personalities from Sfpar, BetterThanTheRest, and Dullodob.
Python
2
star
17

themer

Non-complicated Yew theme management
Rust
1
star
18

ufotree

Represent .ufo or .ufoz packages as a read-only tree
Rust
1
star
19

abridge-wasm

A repository for WASM components to be used within Abridge
Rust
1
star
20

accessible-ui

A component library for Yew
Rust
1
star
21

terrain-modeling

An compression experiment in Deep Learning by predicting terrain height from terrain data
Python
1
star
22

jenv

jenv (Java Environment) is a minimalist CLI bash tool to manage a java project source and binary structure for easy debugging.
Shell
1
star