schellings_model 1.3.2

Schelling's model written in rust.
## Schelling's model written in rust.
[![Creates.io](https://shields.io/crates/d/schellings_model.svg)](https://crates.io/crates/schellings_model)
[![Creates.io](https://shields.io/crates/v/schellings_model.svg)](https://crates.io/crates/schellings_model)

### [RU]https://notabug.org/GreatC0der/schellings_model/src/master/readmeRU.md


[Wikipedia article on Schelling's model.](https://en.wikipedia.org/wiki/Schelling%27s_model_of_segregation)

*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](https://notabug.org/GreatC0der/schellings_model/releases).*

[You need to install rust.](https://www.rust-lang.org/tools/install)
[You need to install SDL2.](https://wiki.libsdl.org/SDL2/Installation)
```sh
cargo install schellings_model
```
Open issue if you have any problems!
### Screenshots
![image](https://notabug.org/GreatC0der/schellings_model/raw/master/screenshots/dark.png)
![image](https://notabug.org/GreatC0der/schellings_model/raw/master/screenshots/light.png)