1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-04 21:26:17 +00:00
hyperrogue/tessellations/sample/brickwork.tes

13 lines
434 B
Plaintext
Raw Normal View History

2020-06-05 23:10:03 +00:00
## brickwork
## a simple test
e2.
angleunit(deg)
# 1's are edge lengths, and 0s and 90s are external angles, given in angleunits (i.e. degrees)
tile(1,180,1,90,1,90,1,180,1,90,1,90)
# consecutive edges in 'tile' description are numbered: 0, 1, 2, 3, 4, 5
# consecutive tile types are numbered: 0, 1, 2, ... (here there is just one type)
# the last 0 means that there is no mirroring
c(0,0,0,3,0)
c(0,1,0,4,0)
c(0,2,0,5,0)