# import the libraries and setup the correct graphics mode for schools computersfrom pyprocessing import *z = 00x = 10l = 0p=0c=0n=0hint('ACCUM_FLIP_POLICY')def mouseClicked(): if mouse.x >0 and mouse.x <25 and mouse.y >0 and mouse.y <25: global x x=x+25 if mouse.x >25 and mouse.x <50 and mouse.y >25 and mouse.y <50: global p p=p+25def setup(): size(900,900)def draw(): background(z,c,n) global z z = z + 15 global c c = c + 2 #using z and c to make color c values change at different speeds. global n n = n + 5 #Right arm line(110+x-p,60,130+x-p,130) #Left arm line(40+x-p,60,20+x-p,130) #Left leg line(50+x-p,150,50+x-p,200) #Right leg line(100+x-p,150,100+x-p,200) fill(n,232,250) #Left Foot rect(30+x-p,200,40,20) fill(n,232,250) #Right Foot rect(80+x-p,200,40,20) fill(n,232,250) #Body rect(40+x-p,50,70,100) fill(n,232,250) #Head rect(50+x-p,10,50,40) fill(255,0,0) #Left Tooth rect(60+x-p,40,10,10) fill(255,0,0) #Middle Tooth rect(70+x-p,40,10,10) fill(255,0,0) #Right Tooth rect(80+x-p,40,10,10) fill(0+x,0,0) #Left Eye ellipse(65+x-p,20.5,10,10) fill(0+x,0,0) #Right Eye ellipse(85+x-p,20.5,10,10) fill(0,0,0) #Right Hand ellipse(130+x-p,130,10,10) fill(0,0,0) #Left Hand ellipse(20+x-p,130,10,10) #Button 1 rect(0,0,25,25) #Button 2 fill(250,0,0) rect(25,25,25,25)# draw it on the screenrun()