swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Canvas followup (was Re: Predation Model


From: Marcus G. Daniels
Subject: Re: Canvas followup (was Re: Predation Model
Date: 31 Mar 2001 11:04:13 -0800
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

>>>>> "PJ" == Paul E Johnson <address@hidden> writes:

PJ> OK. Before I figure that out, tell me this.  I notice that when I
PJ> put some rectangles and 8 or 10 bugs, into that TestCanvas
PJ> program, the model runs somewhat "sluggishly", in the sense that
PJ> the control panel does not respond immediately to mouse clicks and
PJ> the simulation runs a while after the stop button. 

Hmm, I don't get this on a Sun where the host is the same as the X server.
I made about fifty bugs.

PJ> It seems like the ideal case would be a raster full of pixels that
PJ> can have a "clear" canvas on top of it, so I could write the
PJ> raster part in the background and have canvas action overlaid on a
PJ> separate plane.  If I did learn Tk, would I be able to do
PJ> something like that?

The Swarm Raster and Canvas aren't compatible.  For speed, raster uses
low-level access to the frame on both Windows and X11, bypassing Tk.


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]