Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jinleili/simuverse
- Owner: jinleili
- License: mit
- Created: 2023-02-16T04:35:00.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-22T01:47:13.000Z (over 1 year ago)
- Last Synced: 2023-12-16T14:37:38.980Z (about 1 year ago)
- Topics: egui, fluid-simulation, julia, particles, position-based-dynamics, rust, webgpu, wgpu
- Language: Rust
- Homepage:
- Size: 16.4 MB
- Stars: 26
- Watchers: 1
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.MD
- License: LICENSE.MIT
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).