Crates.io | water-simulation |
lib.rs | water-simulation |
version | 0.1.2 |
source | src |
created_at | 2023-06-22 19:58:16.804904 |
updated_at | 2023-06-22 22:06:33.963727 |
description | A water simulation written in Rust |
homepage | |
repository | |
max_upload_size | |
id | 897728 |
size | 35,927 |
Simulates how virtual water would flow in a 2d environment
https://github.com/Antosser/water-simulation/assets/71790328/913ea621-cbc0-4e39-af57-3209f7b3f61d
https://github.com/Antosser/water-simulation/assets/71790328/ba4ef345-304a-4b1a-a986-d03725ac542f
A water simulation written in Rust
Usage: water-simulation.exe [OPTIONS] <IMAGE>
Arguments:
<IMAGE> Location of the image
Options:
-f, --framerate <FRAMERATE> Framerate of the output video [default: 30]
-n, --filename <FILENAME> Name of the output video [default: out.mov]
-a, --approximate Whether to use the approximate algorithm (gray will be treated as wall)
-d, --debug Whether to convert image to simplest form
-h, --help Print help
-V, --version Print version