Inspiration: Fractals
What it does: draws Koch SnowFlake
How I built it: python code
import turtle turtle.shape("turtle") turtle.speed(100) turtle.color("blue")
def snowflake(length): if length <= 2: turtle.forward(length) else: snowflake(length/3) turtle.right(60) snowflake(length/3) turtle.left(120) snowflake(length / 3) turtle.right(60) snowflake(length / 3)
turtle.penup() turtle.backward(300) turtle.right(90) turtle.forward(150) turtle.left(90) turtle.pendown()
for x in range(3): snowflake(300) turtle.left(120)
turtle.Screen().exitonclick()
Log in or sign up for Devpost to join the conversation.