swarm-support
[Top][All Lists]
Advanced

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

Re: Langton's ants in SVG [was a jipd-grid problem]


From: Tom Wainwright
Subject: Re: Langton's ants in SVG [was a jipd-grid problem]
Date: Mon, 12 Feb 2001 09:22:45 -0800

Sounds like this SVD stuff might be fun, but... any way for those of us in
the Linux world to see these things??  The Adobe site only has plugins for
MSWin & Mac.

"Marcus G. Daniels" wrote:
> 
> >>>>> "PT" == Pietro Terna <address@hidden> writes:
> 
> PT> Quitting jipd-grid, that now runs perfectly on my Win Me pc, I
> PT> obtain: *** event raised for error: SourceMessage *** function:
> PT> _i_Schedule_c__drop(), file:
> PT> /src/Swarm/swarm/src/activity/CompoundAction.m, line: 236
> 
> That program¹ does a bunch of desperate things to force a shutdown,
> but it's trying too hard and barking up the wrong tree.  There's no
> handling for window close events, etc. and in the end Java ends up in a funk.
> 
> If you want to do Java GUI programming, I would suggest you not do the
> cargo-cult programming thing based on that example, and instead start
> from scratch, following a book tutorial on Swing, etc.
> 
> Anyway, an easy way to force a clean shutdown (a workaround) is to
> replace the last `drop' with a call like "System.exit (0);"
> 
> On another topic, lately I'm rather enamored with Scalable Vector
> Graphics (SVG) and I really find all this Swing stuff kinda boring and
> provincial.
> 
> For example, check out this little asteroids game using the Adobe SVG plugin.²
> 
>   http://www.kevlindev.com/games/roids/roids.htm
> 
> .. and Langton's ants!
> 
>   http://www.kevlindev.com/workshop/ants/index.html
> 
> So you say that JavaScript is slow?  No worries, we can push³ the
> SVG document object model tree via the native code Swarm engine.
> So that's native code content creation (by Swarm) and layout (by the browser).
> 
> ¹ I mean that in the Monica Lewinsky sense
> 
> ² No, Mozilla's built-in SVG isn't up to the job yet -- have to use
>   the Adobe plug-in.
> 
> ³ When Swarm issues a call to COM it is an array offset and a function call.
>   No Objective C dispatching -- fast!
> 
>                   ==================================
>    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.

-- 
Tom Wainwright
NOAA/NMFS/NWFSC
2030 S Marine Science Dr
Newport, OR 97365 USA
address@hidden

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