One line — x → r·x·(1−x) — and as you turn the single knob r, a population that used to settle starts splitting: one value, then two, four, eight, then chaos. The road to chaos has a universal number in it. The whole thing is pure arithmetic, so I-13 runs the dynamics; only the picture needs more.
Feed each output back in. For small r the value settles to one point; past r≈3 it splits to a 2-cycle, then 4, 8, … and at r≈3.5699 it goes chaotic. The plot below is that whole cascade — every settled value of x for each r. live demo
The lesson people take — “chaos means random” — is exactly wrong: this is fully deterministic and still unpredictable. cited
The bifurcation diagram became one of the emblems of late-20th-century science: simple rule, infinite structure. foundational
The dynamics are nothing but *, - and feedback — so I-13 runs the orbit, on main, no library needed: