Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 502 Bytes

File metadata and controls

13 lines (9 loc) · 502 Bytes

AztecDiamonds

Inspired by Mathologer's video on generating random tilings of Aztec Diamonds (https://www.youtube.com/watch?v=Yy7Q8IWNfHM) I decided to try and impliment and animate the algorithm.

The script "main.py" continuously steps through the tiling actions and draws each change. It is capped at 4 fps for visibility (adjustable by input parameter), but will begin to bog down as the diamond size increases.

A(10) diamond

A(140) diamond