turtle.hideturtle() turtle.ht()
Make the turtle invisible. It’s a good idea to do this while you’re in the middle of doing some complex drawing, because hiding the turtle speeds up the drawing observably.
>>> turtle.hideturtle()
另外,你可以解开乌龟的皮:
turtle.showturtle() turtle.st()
Make the turtle visible.
>>> turtle.showturtle()
您还可以查询其可见性:
turtle.isvisible()
Return True if the Turtle is shown, False if it’s hidden.
documentation在Visibility上有一个节:
另外,你可以解开乌龟的皮:
您还可以查询其可见性:
相关问题 更多 >
编程相关推荐