Fenchel–Nielsen

Tap two features, on the surface or in the pattern, then Cut: the geodesic that isolates them carves them off as a pair of pants. What is carved off is a feature too, so cut on. Every cut gets a Length and a Twist.

Surface Tap two features

Drag to turn · tap features

Pattern Poincaré disc

What is drawn

The surface is a sphere with cone points, handles and mirrors. A cone point of order is a point round which the pattern turns by : 2345 has four of them, of orders 2, 3, 4, 5. A handle is written o: o33 is a torus with two cone points, oo a surface of genus 2. A mirror is written ∗, after the cone points: 333∗ is a disc with three cone points whose edge is a mirror. Digits after the ∗ are corners of that mirror, where two of its lines meet: 33∗23 has a mirror with a corner of order 2 and one of order 3. A mirror with corners is a crown. Only 2222 is flat here; every other one is hyperbolic. An order may be ∞, before the ∗ or after it: tap the ∞ in the field, or type the letter i (23i is read as 23∞, 22∗i as 22∗∞).

A cusp is a cone point of order ∞. The sharper a cone, the farther off its tip: at order ∞ the angle is 0 and the tip is infinitely far, at a point of the disc's rim, where the pattern is turned by ever smaller steps without end. It is a feature like any other, and a cut goes round it and another feature. To the cusp itself everything is infinitely far, so a distance to it is taken to its horocycle of length 1, the curve round the cusp that is one unit long: the largest one that lies inside every pair of pants, whatever the shape (on 23∞ the cone point of order 2 lies on it). In the chainmail a cusp's collar is a loop that touches the rim; its name stands inside that horocycle, and a tap anywhere inside chooses it. On the surface a cusp is a thin horn that narrows without closing (not to scale: the real one is infinitely long). 23∞ is the modular surface, and o∞ a torus with one cusp, whose waist has the one Length and Twist there is. (Allowing ∞ here was Chaim Goodman-Strauss's suggestion, 1 Dec 2026.)

A handle is open from the start along the curve that goes round its tube, its waist. The waist has a Length and a Twist of its own (its card is there when the page opens, and it has no Join), and its two sides, o⁻ and o⁺, are features like the cone points. With every waist open the surface is a sphere with holes, and every further cut parts it in two. Cut round both ends of a handle and the handle is carved off whole; cut round one end and something else, and the handle runs from one piece to the other from then on.

A mirror is a closed curve the surface ends at, and the pattern is reflected in it: beyond its line every cone point has its mirror image, of the other hand. It has a Length and no Twist, its card is there from the start, and it is a feature: a cut goes round it and another feature as round any two. On the surface it is a neck that ends in a pane of glass.

A crown is a mirror with corners: at a corner of order two of its lines meet at the angle . It hangs on the surface by a neck, a closed curve with a Length and a Twist of its own (its card is there from the start, with no Join), and the crown is one feature: a cut goes round its neck and another feature. Behind the neck the pattern is reflected in the crown's lines, drawn thin from corner to corner, and every corner has a small print of commas, each the mirror image of its neighbours. On the surface the crown is a cup with a point for every corner, which the neck's Twist turns. The corners of a crown are not cut apart here: the arcs between them are numbers the page holds still.

A corner at infinity is a corner of order ∞, an ∞ after the ∗: 22∗∞, o∗∞, 33∗2∞. The sharper a corner, the farther off it is: at order ∞ its two lines never meet, they run side by side to one point of the disc's rim, ever nearer. It is half of a cusp, as a corner is half of a cone point. Infinitely many of the mirror's lines run to that point. In the disc the gap between two neighbours among them goes as , where is the distance from that point in the picture, and is the same on every side of it: so the lines are drawn in full where they have room, thinner as they crowd, and not at all close to the point, whose dot stands clear. In the commas one comma lies between each two of them, along the horocycles round the corner, each the mirror image of its neighbours: the print of a corner of order with its circles opened into horocycles. In the chainmail no collar runs into the corner: like a cusp, it keeps them outside a horocycle of its own. On the surface the cup has a tongue in place of a point, which narrows as a cusp's horn does and ends open. A crown whose one corner is ∞ is the plainest crown there is: the page holds nothing of it still, its shape is its neck's Length alone, and its mirror stands at the distance from the neck with . So 22∗∞ has two numbers, that Length and its Twist (22∗, without the corner, is flat), and o∗∞ four. (On 22∗∞, as on 22∗3, the neck of the crown is the segment between the two cone points, there and back. Both lie on it, so in the chainmail neither has room for a collar: each is a dot in its colour.) The picture's middle goes into such a corner as far as into a cusp, 2 inside its horocycle of length 1, and stops.

A feature is a cone point, one end of a handle, a mirror, or a cut already made. Between two features of one piece there is a shortest arc; the two features and the arc form a tree, and one geodesic parts that tree from everything else. That geodesic is the cut. It carves a pair of pants off the piece, and is a feature of what is left. (After Chaim Goodman-Strauss, 25 Nov 2026. For two cone points of order 2 the cut runs along the arc itself, there and back: the pair of pants is squeezed onto a segment.)

Length and Twist. A sphere with cone points takes cuts, and then every piece is a pair of pants (with handles: count two features a handle, and add each handle's waist to the cuts). A pair of pants is rigid once the lengths of its cuts are given, so the shape of the surface is those lengths and, for every cut, how far the two sides are turned against each other before they are glued: the twist , here in turns, . These numbers are the Fenchel–Nielsen coordinates of the surface for that way of cutting it. Until the last cut is made, the cuts still missing are chosen by the page and held still: a slider moves one number and nothing else.

The figure on the left is not to scale: it shows how the pieces hang together. It opens flat, like the surface it stands for (two copies of a polygon glued along their edges), with the cone points on a ring. A Cut pinches the ball along a loop round the two chosen features, and moves no more than it must. Two that stand side by side are parted where they stand: no cone point turns. Two that stand opposite each other, or with another between them, have no such loop as they stand: they lean towards each other and the rest lean away, just far enough, and the piece that comes off swings to the side if it would hide a cone point. A neck is as wide as its cut is long. A piece turns about its neck only while the Twist slider moves: a full turn for a twist of 1. The twist itself is read off the two beads on the rims of a cut: they face each other when it is 0. A handle is a tube from one of its ends to the other, open at its waist, as wide as the waist is long; its Twist moves the beads there and turns nothing. While a handle's Twist is being moved, a thin line runs along its tube from end to end, going round the tube by the twist on the way: straight at Twist 0, a little aslant otherwise. It goes when the slider is let go. With two features chosen, the arc between them is dashed in ink and the cut round them in the colour of the Cut button, in the pattern and on the figure.

The pattern on the right is exact. It opens as the chainmail, drawn by this page in the features' colours: every feature has a collar, the rim of the region nearer to it than to any other feature, pushed out a little so that neighbouring collars link, the same colour on top wherever two cross. Round a cone point the collar is a ring; an end of a handle has one that runs beside its waist, on that end's side; a mirror and a crown's neck have one beside their line. A collar is measured from its own feature outward, so it is the same wherever the picture stands, and it follows every Length and Twist without a jump. Untick chainmail for the other print, commas, drawn by the Poincaré disc of Two features, two handles: one ink on its ground, sharp out to the rim, a small polygon at every cone point (a triangle for order 3), mirrors in red, and over it this page's names, in each feature's colour, and rings round what is chosen. Round every copy of a cone point of order stands a pinwheel of commas. The commas are rigid and tied to their cone point: a Length or a Twist carries them along and never bends or breaks one, and Cut does not move them (it only changes which numbers describe the pattern). An end of a handle is printed as one comma, once a turn, riding beside the waist on its own side: the handle's Twist slides the two rows past each other. Neither print is made from the cuts, so none is drawn there (tick cuts to see their geodesics as thin lines); point at a cut's card and the cone points on its carved side are marked large.

A slider moves the far side. A cut's Length and Twist move what lies across the cut from where the pattern stands; the side under the picture's middle keeps still. When the cut is far from the middle, what moves is at the rim of the disc, where the print is a speck. The picture then slides to that cut while its slider moves, the shortest way and without turning, and the line under the surface says so. The target on a cut's card does the same at a tap. A handle's Twist bends no collar: it slides the collars of the handle's two ends past each other along the waist.

Sliding the pattern never turns it. A drag, or a swipe of two fingers on a trackpad, is one slide all the way: the one that carries what was under the finger when it went down to where the finger is now. So a finger that goes round and comes back brings the picture back as it was. (Taken step by step, each step a slide along its own line, the steps round a loop add up to a turn by the area of the loop: a circle 200 px across turned the picture by a tenth of a turn.) A very long stroke starts afresh on the way.

The address holds what is on the screen: the surface, its cuts with their Lengths and Twists, how the commas are turned, where the pattern stands, how the figure stands and where it is looked at from, what is chosen, and whether the cuts are drawn. It follows as you work, so a copy of it opens the page as you have it.

The disc that draws the commas takes one tile of the pattern and lays its copies. The tile here is the region nearer to one point than to any of that point's copies; it is found afresh whenever the shape changes. A surface with four handles has a tile of 42 sides, more than the disc's fast drawing takes (32): it is then drawn the slower way, and looks the same. 2222 and the chainmail are drawn by this page itself.

Not built here: crosscaps, the arcs that part a crown's corners, and a crown on a surface with fewer than three features, such as the polygons ∗2345 and ∗23∞, or 3∗∞ (all on the Orbifold editor); the flat surfaces with an ∞, whose patterns are friezes (22∞, 2∗∞, ∗∞∞); more than eight features (a handle counts two, a crown one); a cut longer than 12. On a surface with handles the cuts are long, and in a shape too stretched the arithmetic no longer holds the pattern still: the page says so instead of cutting.