🍩 Topology — Surfaces, Genus & Euler Characteristic

Explore topological surfaces — genus, orientability, and Euler characteristic in 3D

Surface

Display

K>0 K<0 K≈0

Topology Stats

0
Genus g
2
Euler χ
Yes
Orientable
0
Boundaries

Formula

χ = V − E + F = 2 − 2g
Sphere: g=0, χ=2
Orientable, 0 boundaries

About Topology of Surfaces

The Euler Characteristic

For any triangulated surface, the Euler characteristic χ = V − E + F (vertices minus edges plus faces) is a topological invariant — it doesn't change under continuous deformations. For a sphere χ=2; a torus χ=0; a double torus χ=−2. The formula χ = 2−2g relates it to genus g, the number of holes in the surface.

Orientability

A surface is orientable if you can consistently define an "outward" normal everywhere — like a sphere or torus. The Möbius strip is the simplest non-orientable surface: a bug walking along its middle edge returns to its start but mirrored. The Klein bottle is a closed non-orientable surface that cannot be embedded in 3D space without self-intersection.

Gaussian Curvature

Gaussian curvature K = κ₁·κ₂ (product of principal curvatures) is intrinsic to the surface. A sphere has K>0 everywhere (red); a saddle point has K<0 (blue); a cylinder or flat plane has K=0 (green). The Gauss-Bonnet theorem links total curvature to topology: ∬K dA = 2πχ — the integral of curvature equals 2π times the Euler characteristic.

About this simulation

Written by MySimulator Team · Reviewed by MySimulator Editorial Review

Last updated: 5 July 2026

Six parametric surfaces — sphere, torus, double torus, Klein bottle, Möbius strip and Boy's surface — are rendered in 3D so you can directly compare their genus, Euler characteristic and orientability. Curvature colouring (red for positive, blue for negative, green near zero) makes the abstract formula χ = 2 − 2g visible as an actual shape you can rotate.

🔬 What it shows

Each button loads a different parametric surface and instantly updates its genus, Euler characteristic, orientability and boundary count in the Topology Stats panel, so the numbers and the geometry stay linked.

🎮 How to use

Pick a surface (Sphere, Torus, Double Torus, Klein Bottle, Möbius Strip, Boy's Surface), then toggle Wireframe, Solid + Wire, Colour by curvature or Auto-rotate to inspect it from every angle.

💡 Did you know?

The Klein bottle and Boy's surface can't be embedded in 3D space without self-intersection — the version shown here is an "immersion", a necessary compromise to visualise a non-orientable surface at all.

Frequently asked questions

What does "genus" actually mean?

Genus g counts the number of holes or handles a surface has. A sphere has g=0, a torus (donut) has g=1, and the double torus shown here has g=2 — one extra handle for each additional hole.

What is the Euler characteristic formula shown in the stats?

χ = 2 − 2g relates a surface's Euler characteristic directly to its genus for orientable surfaces. The sphere gives χ=2, the torus χ=0, and the double torus χ=−2, matching the values in the Topology Stats panel as you switch surfaces.

Why are the Klein bottle and Möbius strip "non-orientable"?

On these surfaces there's no consistent way to define "inside" versus "outside" or clockwise versus counter-clockwise — a shape sliding around the surface can come back mirror-flipped. The Orientable stat flips to "No" for these two.

Why does the Möbius strip have a boundary but the others don't?

The Möbius strip is the only surface here with an edge you could trace with a finger without lifting it — a single continuous boundary curve. The other five surfaces are "closed", with no edges at all, which is why Boundaries reads 0 for them.

What does the curvature colouring represent?

Red marks regions of positive Gaussian curvature (dome-like, curving the same way in all directions), blue marks negative curvature (saddle-like), and green marks near-zero curvature (flat or cylindrical), letting you see local shape without reading any equations.