Visualize a 2D vector field from the flow.raw file.

- Install rust (using rustup)
- Run
cargo run --release
| Key |
Action |
| ctrl + |
Zoom in |
| ctrl - |
Zoom out |
| ctrl backspace |
Reset pan and zoom |
|
|
| space |
Play/pause video playback |
| . |
Step to next frame |
| , |
Step to previous frame |
| [ |
Slow down playback |
| ] |
Speed up playback |
|
|
| 1 |
Show/hide the background velocity texture |
| ctrl 1 |
Cycle through the color map for the background texture |
| F |
Enable/disable linear filtering of the background texture |
|
|
| 2 |
Show/hide stream lines |
| ctrl 2 |
Cycle through the color map for stream lines |
| I |
Enable/disable interactive an stream line at the cursor position |
| M |
Cycle the stream line method between Euler, RK2 and RK4 |
| shift M |
Cycle the stream line method between Euler, RK2 and RK4 in reverse |
| L |
Spawn stream lines equally distributed on the left |
| shift L |
Spawn stream lines more concentrated towards the center left |
| delete |
Remove all stream lines |
|
|
| 3 |
Show/hide the arrow plot |
| ctrl 3 |
Cycle through the color map for the arrow plot |
| A |
Increase arrow density |
| shift A |
Decrease arrow density |
| Key |
Action |
| left-click |
Add a stream line origin |
| right-click |
Remove a stream line |
| ctrl scroll |
Zoom |
| scroll |
Pan |
| shift scroll |
Pan in x-direction |
| middle-click and drag |
Pan |