Python Forum
How to clear the screen of glitched rectangles?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to clear the screen of glitched rectangles?
#2
The dc.clear() which should work but it's part of an endless while loop.

The 'jaggard' rectangles is is because the rectangle is constantly being drawn, then erased and the cycle repeated.
  • Remove the while
  • place the clear in a function
  • only call the clear function when you are actually ready to clear.
Reply


Messages In This Thread
RE: How to clear the screen of glitched rectangles? - by Larz60+ - Mar-03-2017, 09:36 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  clear screen with pycharm boris602 0 2,197 Dec-12-2019, 12:28 PM
Last Post: boris602
  wn = turtle.screen() AttributeError: module 'turtle' has no attribute 'screen' Shadower 1 6,202 Feb-06-2019, 01:25 AM
Last Post: woooee
  PyCharm Clear Screen Larry 4 19,164 Feb-22-2018, 12:18 AM
Last Post: sparkz_alot

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020