1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-07 06:58:07 +00:00

tessellation examples

This commit is contained in:
Zeno Rogue
2019-12-27 10:14:26 +01:00
parent 70910539b3
commit d8cf05bdb8
5 changed files with 62 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
## 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,0,1,90,1,90,1,0,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)