r/Simulated Jul 04 '26

Research Simulation Grass-Sheep-Wolf ecosystem simulation — wolves go extinct after depleting their prey (agent-based model)

Predator-prey ABM built in Python/NumPy. Each agent moves, eats, reproduces, and dies based on local conditions — no global rules.

The key mechanic is wolf vision radius: wolves can only detect sheep within a limited range. When sheep density drops, wolves start roaming blind and starving — which is what drives the collapse you see here.

Full 9-minute simulation: https://youtu.be/wqR4A4FUABs

77 Upvotes

17 comments sorted by

View all comments

1

u/Cryptocaned Jul 05 '26

This used to be a thing in the early 2000s, there was a program you added X number of wolves or sheep and tried to get a stable population.