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: 5 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 (about 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 (over 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

[](https://github.com/jinleili/simuverse/actions)
[](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
| | |
| --------------------------------------- | ------------------------------------------ |
|  |  |
|  |  |
|  |  |
|  |  |## 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).