Turtle: Error displayed when calling screen.setup() after drawing
tudou717 opened this issue · comments
When we modify the screen size after drawing something with the turtle module, Skulpt displays unexpected behavior. Specifically, the previously drawn shapes disappear.
I have tested the following code on Skulpt's official website:
import turtle
screen = turtle.Screen()
t = turtle.Turtle()
t.pensize(3)
t.circle(100)
screen.setup(800, 800)
t.circle(200)
turtle.done()
How to fix it?