https://github.com/hatoo/fluid-animations
My codes for The Art of Fluid Animation
https://github.com/hatoo/fluid-animations
Last synced: about 1 month ago
JSON representation
My codes for The Art of Fluid Animation
- Host: GitHub
- URL: https://github.com/hatoo/fluid-animations
- Owner: hatoo
- Created: 2021-09-13T10:09:32.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-27T11:15:49.000Z (over 3 years ago)
- Last Synced: 2025-01-28T18:46:10.117Z (3 months ago)
- Language: Rust
- Homepage:
- Size: 23.3 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fluid-animations
My codes for [The Art of Fluid Animation](https://www.routledge.com/The-Art-of-Fluid-Animation/Stam/p/book/9781498700207) (01 to 05) and [Fluid Simulation for Computer Graphics](https://www.routledge.com/Fluid-Simulation-for-Computer-Graphics/Bridson/p/book/9781482232837) (06-).
## Run
```
cargo run --release --bin 01_diffuse
```Open images in `out` directory.
# Demos
## 01_diffuse

## 02_dens_step

## 03_vector_noise

## 04_multiple_densities

## 05_vel_step

## 06_advect_improved

## 07_mac_uv

## 08_gauss_filter

## 09_buoyancy

## Cheat sheet
Create movie file from pngs
```
ffmpeg -r 24 -i out/%06d.png -pix_fmt yuv420p out.mp4
```