1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00
hyperrogue/tessellations/sample/inf.tes

16 lines
497 B
Plaintext
Raw Normal View History

# {3,inf} or another regular tessellation with ideal polygons
intslider(sides,3,3,MAX_EDGE)
h2.
2022-04-26 14:29:32 +00:00
# ideal_angle and ideal_edge produce appropriate values for the bracket format below
let(ia = ideal_angle(sides))
let(ie = ideal_edge(sides))
2022-04-26 14:29:32 +00:00
# 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)