#

g.paper(12)
for a in range(0,60):
 g.pen(a)
#draws square base of pyramid 
 g.line(30,40,55,80)
 g.line(50,45,75,85)
 g.line(30,40,50,45)
 g.line(55,80,75,85)
#draws lines from upper left to lower right, 
#changing tip of pyramid from white on top left
#to dark grey on bottom right side of frame 
 g.line(20+a,85-a,30,40)
 g.line(20+a,85-a,50,45)
 g.line(20+a,85-a,55,80)
 g.line(20+a,85-a,75,85)