Flashing two dots at different frequencies.
David McFarlane
mcfarla9 at msu.edu
Thu Dec 10 03:21:47 UTC 2009
Ben,
Here is another "on the fly" approach (based on my experience with
NetLogo at the start of this year). Think of each flashing dot as an
object or "agent" with properties for on duration, off duration, current
state (on or off), and clock time for its next change of state (you
might do this with a User Defined Type, or with some clever use of the
properties already built in to E-Prime display objects). Your event
loop would then check the "next change" time of each active object
against the current clock time. For each object whose "next change"
time has been reached, it would toggle the object's state and update its
"next change" time accordingly.
You would still have to write your own event loop for E-Prime (in
NetLogo this is built in).
-- David McFarlane, Professional Faultfinder
--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.
More information about the Eprime
mailing list