generated from mwc/project_drawing
	I have created the outline of my drawing project. The first part is to create the different types of functions needed to create the ghost. You will notice I created a lot of functions that describe each component needed to create the ghost and the text bubble. I have return commands to make sure the functions work and draw. They all work which is great! I will now move forward to combine the functions in order to create the ghost and text bubble. I did get stuck with some of the commands. I have forgotten some of them so I went to turtle website to refer back to the different commands needed such as the fill shape one and the goto command. I got to this website through a link you have hyperlinked. I honestly just went to to the website when I got stuck. If an error came I read the error and if I could not figure it out on my own I would look it up on google to see what it meant. I have began to look at the animations as well. I looked at some of them more last week that today but I will continue to look at more of them today.
This commit is contained in:
		
							
								
								
									
										13
									
								
								animation_tests.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								animation_tests.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
from superturtle.animation import animate
 | 
			
		||||
from turtle import forward, right
 | 
			
		||||
 | 
			
		||||
def square(side_length):
 | 
			
		||||
    for side in range(4):
 | 
			
		||||
        forward(side_length)
 | 
			
		||||
        right(90)
 | 
			
		||||
 | 
			
		||||
for frame in animate(40, loop=True):
 | 
			
		||||
    size = frame.interpolate(50, 100, mirror=True)
 | 
			
		||||
    square(size)
 | 
			
		||||
 | 
			
		||||
    
 | 
			
		||||
		Reference in New Issue
	
	Block a user