Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Topology lab

Glue the edges of a polygon and identify the surface: Euler characteristic, orientability, boundary, genus, plus V - E + F and connected sums.

How to use

  1. Type an edge word: go round a polygon and name each edge with a letter. Write the letter plain if its arrow points along your way round, or with ' if it points back. The same letter twice means those two edges are glued together, arrows matching.
  2. Press Glue. The polygon is drawn with arrows; corners marked with the same letter end up as one point.
  3. The table gives the Euler characteristic, whether the surface is orientable, its boundary circles, its genus and its name.
  4. The other tabs work out V - E + F for any drawing on a surface, and the result of joining two surfaces with a tube (connected sum).

Keyboard and touch

EnterIn a box: glue, work out or join
TabMove between the tabs, boxes and buttons

Tips

  • A cube has 8 corners, 12 edges and 6 faces: 8 - 12 + 6 = 2, like every surface shaped like a sphere. Draw anything on a torus and you get 0.
  • If some letter appears twice with the same direction (a ... a), the surface is one-sided, like the Moebius band.
  • Torus # projective plane is the same surface as the sum of three projective planes: once a crosscap is there, handles turn into crosscaps.
  • Every closed surface is a sphere with handles or a sum of projective planes. That is the classification theorem, and the standard word shows it.

About this tool

The lab follows the edges round the polygon: corner i lies between edge i - 1 and edge i, and gluing two edges joins their start corners and their end corners. The remaining corner groups give V; each glued pair or free edge gives one E; the inside of the polygon is the one face F. The surface is orientable exactly when every glued letter appears once each way. Free edges form the boundary circles. Then genus = (2 - chi - b) / 2 for orientable surfaces and crosscaps = 2 - chi - b for the others, as in the classification theorem of surfaces.

Words with a letter used three times, or that pinch corners in unusual ways, are outside what the lab checks. Everything runs in your browser.

See you tomorrow!

A fresh daily puzzle every morning, and new tools added every month.

Browse every product