def koch_snowflake(iteration, size):
    for i in range(3):
        koch_curve(iteration, size, direction=1)
        t.right(120)
def koch_antisnowflake(level, size):
    for i in range(3):
        koch_curve(level, size, direction=-1)
        t.right(120)
def koch_snowflake(iteration, size):
    for i in range(3):
        koch_curve(iteration, size, direction=1)
        t.right(120)
def koch_antisnowflake(level, size):
    for i in range(3):
        koch_curve(level, size, direction=-1)
        t.right(120)
Ejemplo n.º 5
0
def caesaro(iteration, size):
    for i in range(4):
        koch_curve(iteration, size, 85)
        t.left(90)