🦏 Endangered Species Lab: Population Viability, Poaching and Rescue Plans

2D interactive simulation · educational model

Each run is one simulated future of a small population. Adjust poaching, habitat loss, reintroductions and chance, and watch the extinction risk across 200 runs change.

The science

Stage-structured population. Females are tracked in three stages: calves J, subadults S and adults A. Each year J' = births, S' = Bin(J, sJ), A' = Bin(S, sS) + Bin(A, sA). In matrix form the long-run growth rate λ is the largest root of λ³ = sAλ² + f sJ sS; λ > 1 grows, λ < 1 declines. Poaching multiplies adult survival by (1 − p).

Density dependence. Fecundity falls as the population approaches the habitat capacity K, f(N) = f* (f/f*)1 − N/K, with f* = (1 − sA)/(sJsS) the value at which λ = 1, so a healthy population settles near K. Habitat loss shrinks K by a fixed percentage each year.

Why small populations die. Demographic stochasticity: births and deaths are random (Poisson and binomial), so a population of 10 can vanish even when the average growth is positive. Environmental stochasticity: good and bad years change survival and births for everyone at once (log-normal). Allee effect: fecundity is multiplied by N/(N + A), because mates are hard to find when few remain. The risk shown is the fraction of 200 runs that fall to 4 females or fewer (quasi-extinction).

Management. Anti-poaching raises sA; protecting habitat keeps K up; reintroducing juveniles (captive breeding) adds individuals each year for 15 years. Compare scenarios to see which lever matters most; for long-lived species adult survival is typically the most sensitive parameter.

Honest simplifications. Female-only model (males never limiting), no genetics or inbreeding depression, no catastrophes or disease, constant life-history rates, density dependence acts only on births, the map is illustrative (animals do not follow real ranging behaviour). Parameters are generic for a slow-reproducing large mammal, not for a specific species; the risk numbers are for learning, not for real conservation advice.