diff --git a/.README.md.swp b/.README.md.swp new file mode 100644 index 0000000..9a0c79e Binary files /dev/null and b/.README.md.swp differ diff --git a/drawing.py b/drawing.py index 29fc89e..d3d7265 100644 --- a/drawing.py +++ b/drawing.py @@ -5,3 +5,36 @@ # (Briefly describe what this program does.) from turtle import * +from superturtle.animation import animate + + +def fly(distance): + penup() + forward(distance) + pendown() + + +def sun(): + fillcolor("yellow") + begin_fill() + fly(20) + left(90) + circle(20) + end_fill() + left(90) + fly(20) + + +for frame in animate(60, loop=True): + sun() + with frame.rotate(0, 360): + fly(100) + fillcolor("blue") + begin_fill() + circle(20) + end_fill() + +done() + + +