Problem 9a.

#9A
import math

g.norefresh()

 
def drips(a,d):
 for b in range (a,d):
  for c in range (a,d):
   e=(c-110)
   f=(b-163)
   i=(c-171)
   h=(b-83)
   g.setPixel(c,b, int((math.sin((c*c+b*b)/140)*70)+(math.sin((e*e+f*f)/180+5)*40)+(math.sin((i*i+h*h)/110+5)*47)))
g.antialias(4)
drips (0,201)
  
  
g.refresh()


-gary escudero