Visually simulate markets of basic consumers and producers. Built on zig-gamedev. Download from the latest release or build from source.
demo.webm
- Simulate market dynamics of consumers and producers.
- Consumers move to Producers, get resources, travel home and consume the resources.
- Red means consumer is empty and looking for resources.
- Green means consumer has enough resources to consume.
- Parameters:
- Number of Consumers
- Number of Producers
- Consumers moving rate
- Consumers demand rate
- Consumers size
- Producers production rate
- Producers maximum inventory
- Data Gathered:
- Transactions per second
- Empty Consumers
- Total Producer Inventory
- To remove a line from the graph, click it's title in the legend.
editor.webm
- Manually place position of consumers and producers.
- Each producer and consumer grouping has individual parameters.
variable.webm
- Very similiar to the random simulation.
- Have input parameters controlled via a wave timeline.
zigup is recommended for managing compiler versions. Alternatively, you can download and install manually using the links below:
OS/Arch | Download link |
---|---|
Windows x86_64 | zig-windows-x86_64-0.13.0-dev.351+64ef45eb0.zip |
Linux x86_64 | zig-linux-x86_64-0.13.0-dev.351+64ef45eb0.tar.xz |
macOS x86_64 | zig-macos-x86_64-0.13.0-dev.351+64ef45eb0.tar.xz |
macOS aarch64 | zig-macos-aarch64-0.13.0-dev.351+64ef45eb0.tar.xz |
git clone https://github.com/ckrowland/simulations.git
cd simulations
zig build run