This simulation explores the topology of closed orientable surfaces: the sphere, the torus (donut) and the double torus. Topology classifies such surfaces by their genus — the number of holes — which makes a coffee mug and a donut topologically identical. These ideas underpin everything from the shape of the universe in cosmology to the connectivity of computer networks and the structure of DNA.
χ = V − E + F = 2 − 2g — χ is the Euler characteristic,
V/E/F are the vertices, edges and faces of any triangulation, and g is
the genus (number of holes).
A torus and a sphere can never be smoothly deformed into one another — you cannot remove a hole without cutting. This is captured by the fundamental group: the sphere's is trivial, while the torus's is ℤ × ℤ, reflecting its two independent loops.