from icons import Bicycle
Rectangle(color='blanchedalmond')
bike = Bicycle(width=20, height=20, color='red')
bike.x = 10
bike.y = 90
rotate = [-90, -180, -270, 0]
colors = ['green', 'blue', 'maroon', 'red']

for j in range(4):
	for i in range(8):
    	with animation(duration=.25):
        	bike.x = bike.x + 10
	bike.rotation = rotate[j]
	bike.color = colors[j]

circling bicycle

by carl

Created 6 years, 1 month ago.