Earlier I showed you how get the corner points of a quasiperiodic tiling. For the Ammann-Beenker tiling see the posts “An easy way to quasiperiodic tilings” and “How to find these corner points of the tiles“. This is easy to code. Drawing these points together with the two periodic lattices we can check out the program. You find an example in the next post “Projection method and corner points – the code“. Using different values for „unitLength“ you have varying magnification of the image. With „xShift=yShift=0“ you get the point of perfect 8-fold rotational symmetry.
But note that this program does not really do the job. It does not „join the dots“. We still have to tell the computer how to find the lines of the tiling and how to put these lines together making up the tiles. This requires appropriate data structures. I will discuss this later.