1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-11 08:48:05 +00:00

new tessellation samples

This commit is contained in:
Zeno Rogue
2020-06-06 01:10:03 +02:00
parent c05aa5d57a
commit 66b2b3277a
17 changed files with 335 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
## Fathauer triangle spiral, family 1, m=1, n=3
a2.
angleunit(deg)
let(fi = (1+sqrt(5))/2)
let(one = test(1/fi + 1/fi^2))
tile(1,36,fi,36,1/fi,180,1/fi^2,108)
conway("(0 2)(1 3)")

View File

@@ -0,0 +1,7 @@
## square grid with affine transformations
a2.
angleunit(deg)
tile(1,90,1,90,1,90,1,90)
conway("[0 2](1 3)")
# in the direction '0-2', stretch them by 1% and shear them by 50% (note that the direction is mirrored)
stretch_shear(1.5, 0.5, 0, 0)

View File

@@ -0,0 +1,7 @@
## Golden Spiral as an affine tessellation
a2.
angleunit(deg)
let(fi = (1+sqrt(5))/2)
let(one = test(1/fi + 1/fi^3 + 1/fi^4))
tile(1,90,1,90,1,90,1/fi,180,1/fi^4,180,1/fi^3,90)
conway("(0 3)(1 4)(2 5)")