1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-20 15:40:26 +00:00
hyperrogue/tessellations/hr-standard-tiling.tes

29 lines
588 B
Plaintext
Raw Normal View History

2020-03-22 10:43:31 +00:00
## {4,6}, tromino 1S, solution 1
h2.
# we compute the edge length
distunit(arcmedge(6,6,7))
# note: subsequent results of arcmedge are given in terms of distunit
# regangle(A,B) returns the internal angle of a B-gon with sidelength A
# A is given in distunits, and result takes angleunit and angleofs into account
let(u6 = regangle(1, 6))
let(u7 = regangle(1, 7))
unittile(u6,u6,u6,u6,u6,u6)
unittile(u7,u7,u7,u7,u7,u7,u7)
c(0,0,0,0,0)
c(0,2,0,2,0)
c(0,4,0,4,0)
c(0,1,1,0,0)
c(0,3,1,1,0)
c(0,5,1,2,0)
c(0,1,1,3,0)
c(0,3,1,4,0)
c(0,5,1,5,0)
c(0,1,1,6,0)