Yes, that is exactly what I had in mind, much more efficient. Does anyone
else consider Michael's code as a possible enhancement for what we currently
have?

As it stands the animation system we have never really seems to have got
finished. As an example of elegant code they work well, but for pratical use
they are too big and clumsy, you have to load anywhere up to 15k of extra
code just to do a few simple tricks. And if you want to glide or wipe a
layer you have to either come up with something new or look for something on
Richard's site which you'll then have to fiddle with to bring up to current
spec.

Using Michael's idea of an Animation object and converting over his complete
animation set will give us a smaller footprint and the benefit of all the
extra animations. It could probably just be a drop in replacement too.

I'm willing to take Michael up on his offer if everyone thinks it's worth
it.

There is also the option of not using thread for simple stuff like slide
etc - go back to the old methods for that and only use thread for more
complex things like a sinewave or imageanim etc. that way you could still do
some basic animation/movement with very little code. Do we really need to
add thread and pathanim just to use a scrollbar? maybe a util/simpleanim.js
could be created with slide/glide etc using a setTimeout? less efficient
than thread, but much more usable, and if all your ever going to do is use
that one scrollbar on your page then you have loaded/created thread for
nothing.

I know I'm free to make any changes I like to my copy of the code and
improve or change  it in any way, but I'm thinking here about changing the
actual distibution itself.

Dan? Jordi? Richard? what are your opinions on this?

----- Original Message -----
From: "Michael Pemberton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 25, 2001 10:20 PM
Subject: Re: [Dynapi-Dev] Discussion about animation code


> To see how this can be done, check out my AfroAPI code.  It is based on
the
> DynAPI code and takes it in the direction you are talking about.
>
> Check out the afroext/anim/* code to see how this works.  It may be a bit
> harder to implement it in the DynAPI due to ather enhancements made in my
> version (dynamic loading mainly).
>
> As I have mentioned a few times,  I would be more than willing to give
> someone a hand if they want to port the code back.
>
> You can download the latest release here:
> http://members.evolt.org/mpember/afroapix/archive/afroapix.2001.11.01.zip
>



_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[email protected]/

Reply via email to