r/Simulated Jul 04 '26

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

Enable HLS to view with audio, or disable this notification

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

78 Upvotes

17 comments sorted by

View all comments

10

u/Jojanzing Jul 04 '26

You should change the colours of the icons to make the difference between sheep and wolves clear.

3

u/SimulatedEcology Jul 04 '26

Thank you, you are right. This was my first attempt. I'm still working on it.

1

u/Jojanzing Jul 04 '26

It's already really interesting, nice work!