@mvaganov/

ExhaustedDirtyHashmap

Python (with Turtle)

No description

fork
loading
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import turtle
turtle.speed(0)
turtle.color("#8800ff")
sides = 3
while sides < 100:
    angle = 360.0/sides
    dist = 1
    print(sides, angle)
    while dist < 200:
        turtle.forward(dist)
        turtle.left(angle)
        dist *= 1.15
    turtle.goto(0,0)
    sides += 1
    
result
console