mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-30 07:29:54 +00:00
tessellation examples
This commit is contained in:
parent
70910539b3
commit
d8cf05bdb8
12
tessellations/brickwork.tes
Normal file
12
tessellations/brickwork.tes
Normal 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)
|
9
tessellations/floret.tes
Normal file
9
tessellations/floret.tes
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
## floret-like tiling
|
||||||
|
## from Marek14's post in HyperRogue discord
|
||||||
|
e2.
|
||||||
|
angleunit(deg)
|
||||||
|
tile(1,120,3,60,1,60,1,120,1,-60,1,0,1,60)
|
||||||
|
c(0,0,0,6,0)
|
||||||
|
c(0,1,0,1,0)
|
||||||
|
c(0,2,0,5,0)
|
||||||
|
c(0,3,0,4,0)
|
13
tessellations/marek313.tes
Normal file
13
tessellations/marek313.tes
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
## {3,13} pentiamond
|
||||||
|
## from Marek14's post in HyperRogue discord
|
||||||
|
h2.
|
||||||
|
angleunit(2*pi/13)
|
||||||
|
# the line below lets us specify internal angles
|
||||||
|
angleofs(pi)
|
||||||
|
distunit(edge(3,13))
|
||||||
|
tile(1,2,1,3,1,2,1,1,1,3,1,3,1,1)
|
||||||
|
c(0,0,0,6,0)
|
||||||
|
c(0,1,0,1,0)
|
||||||
|
c(0,2,0,2,0)
|
||||||
|
c(0,3,0,4,0)
|
||||||
|
c(0,5,0,5,0)
|
16
tessellations/marjorie-rice.tes
Normal file
16
tessellations/marjorie-rice.tes
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
## Marjorie Rice tiling
|
||||||
|
## see: "Marjorie Rice and the MAA tiling", Doris Schattschneider
|
||||||
|
e2.
|
||||||
|
angleunit(deg)
|
||||||
|
let(u=sqrt(3)/3)
|
||||||
|
tile(1, 30, u, 60, u, 90, 1, 60, 1, 120)
|
||||||
|
tile(1, 30, u, 60, u, 90, 1, 60, 1, 120)
|
||||||
|
tile(1, 30, u, 60, u, 90, 1, 60, 1, 120)
|
||||||
|
c(0,0,0,4,0)
|
||||||
|
c(0,3,2,3,0)
|
||||||
|
c(0,1,2,2,0)
|
||||||
|
c(0,2,1,1,0)
|
||||||
|
c(2,1,1,2,0)
|
||||||
|
c(1,0,2,4,0)
|
||||||
|
c(2,0,2,0,0)
|
||||||
|
c(1,3,1,4,0)
|
12
tessellations/twothree.tes
Normal file
12
tessellations/twothree.tes
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
## two-three tiling
|
||||||
|
## from Marek14's post in HyperRogue discord
|
||||||
|
e2.
|
||||||
|
angleunit(deg)
|
||||||
|
tile(1,90,2,90,1,90,1,90)
|
||||||
|
tile(1,90,1,0,1,0,1,90,1,90,1,0,2,90)
|
||||||
|
c(0,3,0,3,0)
|
||||||
|
c(0,0,1,2,0)
|
||||||
|
c(0,1,1,6,0)
|
||||||
|
c(0,2,1,3,0)
|
||||||
|
c(1,0,1,1,0)
|
||||||
|
c(1,4,1,5,0)
|
Loading…
Reference in New Issue
Block a user