- From: David Leunen <leunen.d@gmail.com>
- Date: Mon, 8 Mar 2010 11:06:57 +0100
- To: Ted Han <ted@knowtheory.net>
- Cc: www-smil@w3.org
Received on Monday, 8 March 2010 10:07:36 UTC
> I'm curious what your experience implementing this in JS has been, whether > there are particular performance issues you've encountered, or things that > were particularly difficult that you may have had to hack around or > anything? > I tried to introduce the least hacks possible. Nevertheless, I consider the entire script is a hack. I haven't stress tested it, so I don't know where are the performance bottlenecks. I guess it depends on the JS engines. The main difficulty is implementing additivity. The script need a major rewrite for that (i.e it doesn't strictly follow the model SMIL defines : aka sandwich model). Another bug is that animations' starts are not strictly calculated, but relies on events. So they may become out of sync, if they are repeated many times. Apart from that, everything was pretty straightforward, if I remember well. (There's also that timesheet implementation : http://www.tml.tkk.fi/~pv/timesheets/ )
Received on Monday, 8 March 2010 10:07:36 UTC