1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-18 19:24:48 +00:00
hyperrogue/tessellations/affine/affine-square.tes

8 lines
251 B
Plaintext
Raw Normal View History

2020-06-05 23:10:03 +00:00
## 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)