1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-05 01:29:54 +00:00
hyperrogue/tessellations/sample/ultratriangle.tes

14 lines
413 B
Plaintext
Raw Normal View History

2022-04-26 13:54:17 +00:00
## {k,inf} but with ultra-ideal vertices
intslider(sides,3,3,MAX_EDGE)
slider(multiplier, 1.1, 1, 2)
h2.
2022-04-26 14:29:32 +00:00
# multiplier > 1 produces the appropriate parameters for ultraideal vertices
# this produces a Klein regular sides-gon with circumradius multiplier
2022-04-26 13:54:17 +00:00
let(ia = ideal_angle(sides, multiplier))
let(ie = ideal_edge(sides, multiplier))
tile(0, [ia, ie, ia], *sides)
conway("(0 0)")
#repeat(0, sides)