This is a very basic cloth simulation using raylib-rs and Verlet Integration.
- most variables are currently hardcoded, you can change them in
src/main.rs
- you can cut the simulated cloth by holding down the left mouse button.
- If you use NixOS, you can use the shell.nix by running
shell-nix
or direnv by runningdirenv allow
. - on NixOS, you might need something like NixGL for running this binary. I put a small script in
bin
, that is added to path if you use direnv.