Skip to content

A simulation of Steven Strogatz Swarmalators built in Rust and WebGPU

Notifications You must be signed in to change notification settings

jeandavilarodz/swarmalators

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

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

Build

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

Use

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.

About

A simulation of Steven Strogatz Swarmalators built in Rust and WebGPU

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published