5 stable releases
1.4.0 | Jul 16, 2023 |
---|---|
1.3.2 | May 19, 2023 |
1.2.1 | May 18, 2023 |
#405 in GUI
60 downloads per month
135KB
376 lines
Schelling's model written in rust.
RU
Wikipedia article on Schelling's model.
There are subtle differences to original Schelling's model.
Key bindings
- A - Make slower.
- S - Make faster.
- D - Disable/enable rendering. When enabled, works as fast as possible.
- Z - Decrease number of neighbours alike for agent to be satisfied.
- X - Increase number of neighbours alike for agent to be satisfied.
- W - Switch theme( light / dark ).
- T - Hide toolbar.
- Q - Open this page.
Building and installing
Prebuilt binaries for linux are available in releases.
You need to install rust. You need to install SDL2.
cargo install schellings_model
Open issue if you have any problems!
Screenshots
Dependencies
~16MB
~350K SLoC