Ruka hadi maudhui
The Lumenary
Njia ya MaajabuHiari · haipewi alama kamweInaanzia The coordinate plane

Life on a torus

Ukurasa huu bado haujatafsiriwa kwa Kiswahili, kwa hiyo unaonyeshwa kwa English.

Saidia kutafsiri →
1

Swali

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?

Fanya jaribio kabla ya kuendelea kusoma. Hakuna njia mbaya ya kuchunguza.

2

Jaribio

Nyuso kutoka kwa mraba

Gundisha pande za mraba wawili wawili ili mishale ilingane. Mtembeze kiumbe bapa avuke upande mmoja na utazame anarudi wapi — na kwa namna gani.

abab

Vitufe: ↑ mbele, ↓ nyuma, ← na → kugeuka, Nafasi kutembea au kusimama. Unaweza pia kumburuta.

Torasia b a⁻¹ b⁻¹
Inayoelekezeka
Ndiyo
Sifa bainifu ya Euler
χ = 0

Kugundisha hugeuza pembe 4 kuwa V = 1, pande 4 kuwa E = 2 na mraba kuwa F = 1: V − E + F = 1 − 2 + 1 = 0

Yuko kama alivyoanza.

Pande alizovuka hadi sasa: 0

Pande zinazokabiliana zimegundishwa kwa mishale inayoelekea upande mmoja. Ukitoka upande wa kulia unarudi upande wa kushoto, ukiwa vilevile. Atembee vyovyote vile, kiumbe hageuki kuwa taswira ya kioo: torasi inaelekezeka.

3

Vidokezo, ukivitaka

    4

    Kinachoendelea

    Kinachoendelea

    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.

    Mlinganisho, si muundo rasmi: 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.

    Imeandaliwa na AI · inasubiri ukaguzi wa binadamu
    5

    Hii inaelekea wapi