From: Randolph Wang <rywang@CS.Princeton.EDU>
Date: Mon, 16 Feb 2004 21:02:39 -0500
To: randy_class@CS.Princeton.EDU
Subject: double-buffering in turtle

------- Start of forwarded message -------
Date: Fri, 13 Feb 2004 21:58:17 -0500 (EST)
From: Diego Nehab <diego@CS.Princeton.EDU>
To: Donna Gabai <dgabai@CS.Princeton.EDU>
cc: Chi Zhang <chizhang@CS.Princeton.EDU>, Doug Clark <doug@CS.Princeton.EDU>,
        Paul T Calamia <pcalamia@CS.Princeton.EDU>,
        Randolph Wang <rywang@CS.Princeton.EDU>,
        Yilei Shao <yshao@CS.Princeton.EDU>
Subject: The turtle
In-Reply-To: <Pine.GSO.4.58.0402122036320.9696@rayban.CS.Princeton.EDU>
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on 
	memphis.CS.Princeton.EDU
X-Spam-Status: No, hits=-100.0 required=5.0 tests=USER_IN_WHITELIST 
	autolearn=no version=2.63
X-Spam-Level: 

Hi,

I was playing today with the Turtle. It uses double-buffering.  This is
good for performance and to prevent flickering during animation.
Basicly, all drawing is done into an offscreen buffer that only shows up
on screen when you call Turtle.render.

Bottom line: Nothing shows up when you execute some of the examples.
Unless the example calls Turtle.pause (wich calls Turtle.render behind
your back), or Turtle.destroy (which does the same).

[]s,
Diego.


double-buffering in turtle / Randolph Wang