1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-09 15:39:55 +00:00
hyperrogue/tessellations/sample/inf.tes
2022-04-26 16:29:32 +02:00

16 lines
497 B
Plaintext

# {3,inf} or another regular tessellation with ideal polygons
intslider(sides,3,3,MAX_EDGE)
h2.
# ideal_angle and ideal_edge produce appropriate values for the bracket format below
let(ia = ideal_angle(sides))
let(ie = ideal_edge(sides))
# ideal vertices can be specified as e1, [a1, e2, a2], e3
# this means that the edges e1 and e3 are extended until they meet (in an ideal or ultra-ideal point), eliminating e2
tile(0, [ia, ie, ia], *sides)
conway("(0 0)")
#repeat(0, sides)