generated from mwc/project_drawing
31 lines
539 B
Python
31 lines
539 B
Python
from superturtle.animation import animate
|
|
from turtle import forward, right
|
|
from shapes import red_coin
|
|
from turtle import *
|
|
from shapes import *
|
|
|
|
|
|
|
|
for frame in animate(30):
|
|
|
|
penup()
|
|
forward(100)
|
|
pendown()
|
|
black_tile(40)
|
|
with frame.translate([-275, -150], [-225, -100], cycles=2):
|
|
|
|
red_coin(20)
|
|
goto(-175, -150)
|
|
blue_coin(25)
|
|
input()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# for frame in animate(frames=30):
|
|
# with frame.translate([0, 0], [100, 100]):
|
|
# red_coin(25)
|
|
|
|
input() |