generated from mwc/project_drawing
	I was struggling to figure out how to put the animation code into my code. i had to change up the code for my piece so they were made separate and then move them. it was hard to figure out have to calculate which way the piece would go but i got one to move
		
			
				
	
	
		
			27 lines
		
	
	
		
			525 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			525 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]):
 | 
						|
            
 | 
						|
            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() |