"""Demo of some new features."""
setheading(towards(0, 0))
radius = distance(0, 0)/2.0
write("wait a moment...")
while undobufferentries():
fillcolor(255-15*i, 0, 15*i)
turtle.resizemode("auto")
turtle.color("blue","orange")
setheading(towards(turtle))
while tri.distance(turtle) > 4:
tri.setheading(tri.towards(turtle))
tri.write("CAUGHT! ", font=("Arial", 16, "bold"), align="right")
def baba(xdummy, ydummy):
while undobufferentries():
tri.write(" Click me!", font = ("Courier", 12, "bold") )