schellings_model 1.3.2

Schelling's model written in rust.
schellings_model-1.3.2 is not a library.
Visit the last successful build: schellings_model-1.4.0

Schelling's model written in rust.

Creates.io Creates.io

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

image image