Re: Third release of Constraint SVG browser

Hi Cameron

On Sat 2004-02-28 Cameron McCormack wrote:
> My example would be equivalent to
>   <rect x="0" y="0" width="100" height="100">
>     <!-- move 20 units every second -->
>     <animate attributeName="x" from="0" to="2000" begin="0s" dur="100s"/>
>   </rect>
> except that with the SMIL animation I have to stop the animation
> some time (because interpolated animations aren't possibly if the
> animation is indefinite).


I may have misunderstood you again, but this seems to do what you

<svg xmlns="" version="1.1">
  <rect width="100" height="100">
      attributeName="x" by="20" dur="1s"
      repeatCount="indefinite" accumulate="sum"/>
> > If the code instead says "the animated object should be at 20 * x
> > units after x seconds, animate with any frame rate you like
> > (redraw as often as you like as long as ($current_position/20 ==
> > $seconds_passed))" then that's something else.
> Yes that's how it is. :-)

But it became clear that both the code and the comment are prone to be
misunderstood when read without explanation, perhaps clearer
expressions and syntax can be chosen.

I find the SMIL version extremely clear, for example.


Vim users, don't forget to

Received on Saturday, 28 February 2004 05:28:16 UTC