Fork me on GitHub

Turtle Circle Crazy Party

by Olivia Dorsey

10 Oct 2013

Here's my turtlehack picture!

Turtlehack Picture

And my corresponding code...

import turtle
import turtlehack
import random

larry = turtle.Turtle()

for i in range(random.randint(0,10)):
  larry.color(turtlehack.random_color())
  turtlehack.random_circle(larry, 10, 15)
  turtlehack.random_location(larry, 125, 125)
larry.color(turtlehack.random_color())
turtlehack.random_circle(larry, 34, 10)

turtle.done()
Olivia is a senior BSIS student who is interested in web design/development and the digital humanities. Her hometown is Clayton, NC. Find Olivia Dorsey on Twitter, Github, and on the web.
comments powered by Disqus