Saltar al contenido
The Lumenary
Sendero del AsombroOpcional · nunca se calificaParte de The coordinate plane

Life on a torus

Esta página todavía no está disponible en Español, por eso se muestra en English.

Ayuda a traducir →
1

La pregunta

In some video games, walking off the right edge of the screen brings you back on the left, and walking off the top brings you back at the bottom. If that world were a real surface, what shape would it be?

Prueba el experimento antes de seguir leyendo. No hay una forma equivocada de explorar.

2

Experimento

Superficies a partir de un cuadrado

Pega los lados de un cuadrado por parejas de modo que las flechas coincidan. Haz que un habitante de Planilandia cruce un lado y observa dónde (y cómo) reaparece.

abab

Teclas: ↑ avanzar, ↓ retroceder, ← y → girar, Espacio camina o se detiene. También puedes arrastrarlo.

Toroa b a⁻¹ b⁻¹
Orientable
Sí
Característica de Euler
χ = 0

Al pegar, las 4 esquinas se convierten en V = 1, los 4 lados en E = 2 y el cuadrado en F = 1: V − E + F = 1 − 2 + 1 = 0

Igual que al principio.

Lados cruzados hasta ahora: 0

Los lados opuestos se pegan con flechas en el mismo sentido. Sal por el lado derecho y vuelves por el izquierdo, sin invertirte. Camine como camine, el habitante nunca queda reflejado: el toro es orientable.

3

Pistas, si las quieres

    4

    Qué está pasando

    Qué está pasando

    On a wrap-around screen of width WW and height HH, a point has coordinates (x,y)(x, y) with 0≤x<W0 \le x < W and 0≤y<H0 \le y < H, and moving past an edge means counting on modulo WW or HH — clock arithmetic in two directions at once.

    Gluing the left and right edges of a rectangle gives a cylinder. Gluing the two ends of the cylinder gives a torus: the surface of a doughnut. So the video-game world is a torus. A walker on it can go "around the hole" in two different ways — across the screen or up the screen — and neither loop can be shrunk to a point. Counting how many times a loop goes around each way is the start of the fundamental group of the torus, Z×Z\mathbb Z \times \mathbb Z.

    Now change the rule: walking off the top brings you back at the bottom mirrored, left and right swapped. The walker comes home as their own mirror image — their left hand has become a right hand. That surface is the Klein bottle, and a surface where this can happen is called non-orientable. The Klein bottle cannot be built in ordinary three-dimensional space without passing through itself, but the rule for its edges describes it perfectly well.

    Mathematicians build many surfaces this way, by gluing the edges of a polygon, and the classification of surfaces says that every closed surface arises like this. Whether our own universe might be finite but wrap around in some such way is a question cosmologists have tested against observations; so far no evidence for it has been found.

    Analogía, no una construcción formal: The game screen is a flat rectangle with a rule for its edges; a doughnut in space is curved. They have the same topology but not the same geometry, so 'the screen is a doughnut' is a statement about shape up to stretching, not a picture of the game.

    Redactado con IA · pendiente de revisión humana
    5

    Adónde lleva esto