Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jinleili/simuverse

Simulate particle vector fields, fluid dynamics, procedural textures, and position-based dynamics based on wgpu + egui
https://github.com/jinleili/simuverse

egui fluid-simulation julia particles position-based-dynamics rust webgpu wgpu

Last synced: 2 months ago
JSON representation

Simulate particle vector fields, fluid dynamics, procedural textures, and position-based dynamics based on wgpu + egui

Awesome Lists containing this project

README

        

# Simuverse

![Minimum Rust Version](https://img.shields.io/badge/min%20rust-1.79-green.svg)
[![Build Status](https://github.com/jinleili/simuverse/workflows/CI/badge.svg?branch=main)](https://github.com/jinleili/simuverse/actions)
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/jinleili/simuverse#license)

Simulate particle vector fields, fluid dynamics, procedural textures, and position-based dynamics based on [wgpu](https://github.com/gfx-rs/wgpu) + [egui](https://github.com/emilk/egui).

It is not only a complete example but also an extension of the [学习 wgpu](https://github.com/jinleili/learn-wgpu-zh).

**[Online Demo](https://jinleili.github.io/learn-wgpu-zh/simuverse)**

## Screenshot

| | |
| --------------------------------------- | ------------------------------------------ |
| ![Julia Set](screenshots/julia_set.png) | ![Spirl](screenshots/spirl.png) |
| ![Wood](screenshots/wood.png) | ![Marble](screenshots/marble.png) |
| ![PBD Cloth](screenshots/cloth.png) | ![LBM Fluid](screenshots/lbm.png) |
| ![Load .obj](screenshots/obj.png) | ![B-Spline animation](screenshots/bsp.png) |

## Running

**On native**:

```sh
cargo run
```

**On web browser**:
_Need Chrome 113+ or [Chrome Canary](https://jinleili.github.io/learn-wgpu-zh/#如何开启浏览器-webgpu-试验功能)_

```sh
cargo run-wasm
```

## License

Licensed under the [MIT License](https://github.com/jinleili/simuverse/blob/main/LICENSE.MIT).