File: inf.tes

package info (click to toggle)
hyperrogue 12.1q-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 73,972 kB
  • sloc: cpp: 166,609; makefile: 145; sh: 10
file content (15 lines) | stat: -rw-r--r-- 497 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# {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)