<gh_stars>1-10
from easygraphics.turtle import *


def subspiro(side, angle, n):
    for i in range(1,n+1):
        fd(side * i)
        rt(angle)


def spiro(side, angle, n):
    while is_run():
        subspiro(side, angle, n)


def main():
    create_world(800, 600)
    set_speed(50)

    # spiro(30,90,10)
    # spiro(20, 144, 8)
    # spiro(20,60,10)

    close_world()

easy_run(main)
from easygraphics.turtle import *


def subspiro(side, angle, n):
    for i in range(1,n+1):
        fd(side * i)
        rt(angle)


def spiro(side, angle, n):
    while is_run():
        subspiro(side, angle, n)


def main():
    create_world(800, 600)
    set_speed(50)

    # spiro(30,90,10)
    # spiro(20, 144, 8)
    # spiro(20,60,10)

    close_world()

easy_run(main)
# spiro(30,90,10) # spiro(20, 144, 8) # spiro(20,60,10)