The initial shape is made of following vertices. You make a copy of this shape, rescale it ( rotate it if necessary ) and place this mini copy on one of the side of the initial shape and you keep doing it recursively with the shape you get. The flag array tells you which sides to avoid.
vertices = {[-2, 0], [0, 0], [0, 2], [-1, 1], [1, 1], [0, 2], [0, 0], [2, 0]}
flag = [ 1, 0, 0, 1, 0, 0, 1 ]
Music : "Next Station" by Adrian Berenguer
16 сен 2024