generated from mwc/project_drawing
I actually figured out how to do this by accident. I meant to check how my penguin positions were changing but then I got it moving. I think it's funny that I thought it was going to be very difficult to figure it out. It wasn't. I think I am a bit hesitant to attempt the jump because I don't know where to start. I still don't know why I need to press enter to get the animation going.
13 lines
300 B
Python
13 lines
300 B
Python
from superturtle.animation import animate
|
|
from penguins import *
|
|
from drawing import *
|
|
|
|
for frame in animate(60, debug=False, loop=True):
|
|
if frame.index%6==0:
|
|
penguins(120,345,35)
|
|
elif frame.index%6==1:
|
|
penguins(120,0,0)
|
|
else:
|
|
penguins(60,0,0)
|
|
|
|
input() |