A simulation of the swarmalator system using Rust and WebGPU compute shaders. The behavior of the system is described on the paper: https://www.nature.com/articles/s41467-017-01190-3
This project was built using Rust and WebGPU, you need to download and install a Rust toolchain, then invoke:
cargo build --release
On the root of the project
To run the project you can use cargo:
cargo run --release
This should open a window with the simulation running. You can use hte colon ":" key to change the parameters J and K described in the paper. The behavior of the particles should converge to the images present on the research article.