[MWForum]Erasing turtle lines

Susan van Gelder mwforum@lists.mathcats.com
Thu, 24 Jun 2004 15:36:17 -0400


You can save your background
savepict "nameofyourbackground

and then load it fresh when you want to use it again

loadpict "nameofyourbackground

I had students use this for games in which the turtle filled an area 
with a new colour which then made an area passable which had been 
protected by the previous colour's rule. Then each time they started 
the game, the original background would be loaded with the loadpict 
command.

Susan

On Jun 24, 2004, at 3:07 PM, Karen Randall wrote:

> I have a student working on an animation where it would be rather 
> useful to freeze the background, then have a turtle drawing on top of 
> the frozen background.  That would allow the turtle lines to be erased 
> without messing up the setting.   As far as we can tell, MW doesn't 
> allow for that kind of layering.
>
> Using changing turtle shapes for the drawing/erasing doesn't give 
> enough flexibility in what the turtle drawing is doing.
>
>  Our solution so far is to have the background a solid color, then 
> erase the turtle's lines after they are drawn by giving the same 
> turtle commands with the pen set to the background color.  Since it 
> would be nice to have a scene as the background instead of a plain 
> color, I'm wondering if there really is a way that background freezing 
> can be made to help, or if you have any other suggestions.
>
> Thanks,
> Karen
> _______________________________________________
> MWForum mailing list
> MWForum@lists.mathcats.com
> http://lists.mathcats.com/mailman/listinfo/mwforum
> Attachments archived at:
> http://www.mathcats.com/mwforum/attachments.html
> To unsubscribe or for administrative questions contact 
> mailto:mwforum-admin@lists.mathcats.com
>
>
***************************************************************
Susan van Gelder
susanvg@videotron.ca