swarm-support
[Top][All Lists]
Advanced

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

Canvas followup (was Re: Predation Model


From: Paul E Johnson
Subject: Canvas followup (was Re: Predation Model
Date: Sat, 31 Mar 2001 12:00:50 -0600

"Marcus G. Daniels" wrote:

> I exported the OvalNodeItem and RectangleNodeItem, which size per
> the text in them.  A person would need to export Circle in order to do that,
> or maybe even add new code to tkobjc.

OK. Before I figure that out, tell me this.  I notice that when I put
some rectangles and 8 or 10 bugs, into that TestCanvas program, the
model runs somewhat "sluggishly", in the sense that the control panel
does not respond immediately to mouse clicks and the simulation runs a
while after the stop button. This makes me suspect that the canvas will
be too slow to draw dots for a few hundred objects, so there's not much
use in trying.  Am I just having a bad morning?

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

-- 
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ukans.edu/~pauljohn
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66045                FAX: (785) 864-5700

                  ==================================
   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]