Skip to main content



      Home
Home » Eclipse Projects » GEF » Animation with GEF
Animation with GEF [message #17227] Tue, 20 August 2002 13:12 Go to next message
Eclipse UserFriend
My long term goal with using GEF is to implement a data visualization tool.

I've been interested in replicating this:

http://bailando.sims.berkeley.edu/infovis.html

I've barely gotten started with GEF but I'm looking forward to building this
kind of thing.

In this style of object-graph visualization, selecting a new "focus" node
moves it to the center and re-arrainges all the other nodes around it. What
is the best approach do doing that kind of animation with GEF and Draw2d?
Re: Animation with GEF [message #17307 is a reply to message #17227] Tue, 20 August 2002 11:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hudsonr.spam.com

I would do this in a layered approach. Use GEF to handle the notion of
selection and focus, and use draw2d to handle the animation and layout. The
draw2d part could be layered as well. Use a draw2d layout manager to simply
place the figures. Perhaps the constraints would be radial coordinates, but
you could also use XYLayout. Use some other helper object to generated the
intermediate constraints between the begin and end layouts for a given
transition.

Its probably easiest to block the UI during the animation, in the same way
that the Windows Tree does when it animates. So, set all of the new
constraints for a current frame, then force an update by getting the
UpdateManager, and calling performUpate(). If you don't do this, you'll go
through the entire animation without any painting occuring because draw2d
uses a deferred paint system just like Windows or Swing.


"Howard Lewis Ship" <hship@bellatlantic.net> wrote in message
news:ajti6d$sdv$1@rogue.oti.com...
> My long term goal with using GEF is to implement a data visualization
tool.
>
> I've been interested in replicating this:
>
> http://bailando.sims.berkeley.edu/infovis.html
>
> I've barely gotten started with GEF but I'm looking forward to building
this
> kind of thing.
>
> In this style of object-graph visualization, selecting a new "focus" node
> moves it to the center and re-arrainges all the other nodes around it.
What
> is the best approach do doing that kind of animation with GEF and Draw2d?
>
>
>
Re: Animation with GEF [message #17355 is a reply to message #17227] Tue, 20 August 2002 19:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Karsten.Lentzsch.gmx.de

"Howard Lewis Ship" <hship@bellatlantic.net> wrote:

> What is the best approach do doing that kind of
> animation with GEF and Draw2d?

Hello Howard,

I have written a framework for time-based real-time
animations in Java that implements a useful subset
of the W3C SMIL Animation specification.

You can see the running animations in several of
my tools: jDiskReport, jPathReport (About), and
Metamorphosis. If you have never seen my tools,
before, Metamorphosis is probably the most fun.
All tools are available at no charge from my site.

I'm very busy and my time is scarce. But if you
really have an urgent need for this, I'd take the time
and extract the animation framework from my
professional packages. I want to promote Java
and help where I can.

My framework is about animation targets,
animation functions, animation effects,
time containers, and animations. You can
apply the animation effect to generic targets,
for example, an SWT or GEF component.
I provide several sample animation renderers,
some animated Swing components, and
predefined animation functions, and a bunch
of predefined operations on animations.

In case, you haven't seen the Jazz framework,
this may also be worth a look, because it
provides animated graphics, too.

Regards,
--
Karsten Lentzsch - User Interface Design - www.jGoodies.com
Re: Animation with GEF [message #17506 is a reply to message #17355] Wed, 21 August 2002 01:07 Go to previous messageGo to next message
Eclipse UserFriend
Yes, I've seen your work and its very nice.

I think my post was mostly about making sure that changes to the Figures I
put on the Draw2d canvas (as I move them around) actually get displayed
during the animation.

You should check out http://bailando.sims.berkeley.edu/infovis.html its very
interesting approach to visuallizing graphs of objects. Down the road, I
want to leverage this technology as a database explorer related to an O/R
mapping tool I'm working on.

I'm a ways off from having the time to really look at GEF, though.

Perhaps you should move your code onto SourceForge as open source?

"Karsten Lentzsch" <Karsten.Lentzsch@gmx.de> wrote in message
news:ajujf8$f5n$1@rogue.oti.com...
> "Howard Lewis Ship" <hship@bellatlantic.net> wrote:
>
> > What is the best approach do doing that kind of
> > animation with GEF and Draw2d?
>
> Hello Howard,
>
> I have written a framework for time-based real-time
> animations in Java that implements a useful subset
> of the W3C SMIL Animation specification.
>
> You can see the running animations in several of
> my tools: jDiskReport, jPathReport (About), and
> Metamorphosis. If you have never seen my tools,
> before, Metamorphosis is probably the most fun.
> All tools are available at no charge from my site.
>
> I'm very busy and my time is scarce. But if you
> really have an urgent need for this, I'd take the time
> and extract the animation framework from my
> professional packages. I want to promote Java
> and help where I can.
>
> My framework is about animation targets,
> animation functions, animation effects,
> time containers, and animations. You can
> apply the animation effect to generic targets,
> for example, an SWT or GEF component.
> I provide several sample animation renderers,
> some animated Swing components, and
> predefined animation functions, and a bunch
> of predefined operations on animations.
>
> In case, you haven't seen the Jazz framework,
> this may also be worth a look, because it
> provides animated graphics, too.
>
> Regards,
> --
> Karsten Lentzsch - User Interface Design - www.jGoodies.com
>
>
Re: Animation with GEF [message #17682 is a reply to message #17506] Wed, 21 August 2002 23:29 Go to previous message
Eclipse UserFriend
Originally posted by: v-woods.cecer.army.mil

Getting draw2d to show it during dynamics is one thing, but I would think
Karsten's framework would be a good way to construct the transitions in
the animation. Regardless, I think Karsten's framework would be a great
addition to the core functionality of draw2d and GEF.

-Van
Previous Topic:draw2d general drawing environment
Next Topic:xml editor
Goto Forum:
  


Current Time: Sat Jul 19 19:32:16 EDT 2025

Powered by FUDForum. Page generated in 0.04867 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top