Design habitat patches and corridors; connectivity decides whether the species persists.
Landscape. A 48 x 30 grid of habitat (green/teal) in an unsuitable matrix (brown). Two habitat cells are linked if their distance is at most the dispersal distance D; connected groups are patches (union-find). Random habitat becomes one connected network only above the site-percolation threshold of about 59 % for D = 1 (4 neighbours); longer dispersal lowers the needed cover.
Metapopulation. Each year every occupied cell goes extinct with probability e and, with probability c, sends one colonist to a random point within distance D; it settles if that cell is empty habitat. With unlimited dispersal this reduces to the Levins model dp/dt = c p (1-p) - e p whose equilibrium occupancy is p* = 1 - e/c (dashed line); the species survives only if c > e.
Why corridors matter. Gaps larger than D isolate patches: they are recolonised slowly or never, local extinctions become permanent, and gene flow stops. Adding a corridor merges patches and lifts occupancy towards the Levins limit.
Honest limits: one species, uniform patch quality, identical extinction chance for large and small patches (real small patches go extinct faster), no genetics or edge effects, disk dispersal kernel; the description's gene-flow aspect is represented only through colonisation.