Examplesllms.txt
Select an example to explore it in the playground.
Beginner - Introductory Models
Fishery Simulation
A fishery simulation of stocks, flows, and feedback loops managing fish populations.
Level: Beginner
Antifragile System
The same adaptive loop, two fates: with one knob negative each failure makes the system stronger; flip its sign and failures spiral to certain breakdown.
Level: Beginner
Bathtub Fill and Drain
A bathtub simulation illustrating stock and flow of water volume.
Level: Beginner
Elementary Cellular Automata
One 8-bit rule number, three worlds: flip it to walk a single-line automaton from an ordered fractal through Turing-complete complexity to deterministic chaos.
Level: Beginner
Gacha Box
Same 50 pulls, same spend, one setting apart: a pity timer guarantees the 1%-odds ultra after a dry streak, while turning it off can leave you empty-handed.
Level: Beginner
Game of Life
Conway's Game of Life: a random soup self-organizes into still-lifes, blinkers, and gliders — global order from one local rule.
Level: Beginner
Goal-Seeking Decay
A goal-seeking decay simulation modeling exponential approach toward a target.
Level: Beginner
Inventory Oscillation
Naive reordering that ignores in-transit stock makes inventory swing; counting the pipeline flattens it.
Level: Beginner
Logistic Growth
Grow a population too fast and it overshoots its carrying capacity before settling; grow it gently and it glides up to the same limit.
Level: Beginner
Nested Hierarchy Workflow
A nested hierarchy simulation where tasks flow across company departments.
Level: Beginner
Queue Simulation
A single-server queue at the edge of overload: nudge utilization past 1 and the backlog diverges.
Level: Beginner
Savings vs Credit-Card Debt
Same card, same income - one number decides everything: pay just under the interest and the debt runs away; pay just over it and the balance marches to zero.
Level: Beginner
Thermostat Simulation
A bang-bang thermostat reading a delayed sensor overshoots and rings; shorten the delay and it settles.
Level: Beginner
Intermediate - Classic Dynamics
First-Price vs. Vickrey Auctions
Repeated sealed-bid auctions comparing first-price and Vickrey rules with learning agents.
Level: Intermediate
Bank Renege Simulation
At a teller running near capacity, patience decides everything: impatient customers give up before a line even forms - half walk out - while patient ones build a long queue yet nearly all get served.
Level: Intermediate
Dynamic Difficulty Adjustment
Adaptive encounters that track win rate to keep players challenged.
Level: Intermediate
Hospital ER Patient Flow
Queuing theory demo of patient flow through an emergency department.
Level: Intermediate
Inspection Game
A ranger who patrols just 40% of sites can still stop poaching - but only if the penalty is harsh enough. Soften it and the same patrols let crime pay.
Level: Intermediate
Predator-Prey (Lotka–Volterra, SciPy)
A predator-prey simulation using the Lotka-Volterra equations.
Level: Intermediate
Predator-Prey (Lotka–Volterra, SimPy)
Discrete-time SimPy approximation of the predator–prey model.
Level: Intermediate
Matchmaking Queue
Simulates skill-based matchmaking with adjustable buckets, skill delta and max wait.
Level: Intermediate
Ride-Share Surge Control
Dynamic pricing stabilises rider waits—until high gain and delay turn it into surge whiplash.
Level: Intermediate
Rumor vs Counterwave
Competing rumor and fact-check messages racing across a social network.
Level: Intermediate
SIR Model with Vaccination
An SIR epidemic at the threshold: vaccinating past the herd-immunity line pushes effective R0 below 1 and the outbreak fizzles.
Level: Intermediate
Sleep Debt Simulation
A sleep debt simulation tracking caffeine, sleep patterns, and debt buildup.
Level: Intermediate
War of Attrition
Two-player waiting game exploring mixed strategies and the option value of waiting.
Level: Intermediate
Water Heater PID Control
PID control keeps a domestic hot water tank near its setpoint while balancing heater power and losses.
Level: Intermediate
Advanced - Complex Simulations
Car Service Simulation - SimPy Tutorial
A car service simulation showing priority washing with features like interrupts.
Level: Advanced
Logistic Map
A logistic map simulation that iterates x_{n+1}=r*x_n*(1-x_n) to illustrate chaos.
Level: Advanced
Machines Simulation
A machines simulation depicting resource allocation and reliability.
Level: Advanced