Re: Third release of Constraint SVG browser

Tobias Reif:
> The comment in your code
> 
>   <!-- move 20 units every second -->
> 
> seemed to state that the code tells your implementation at which frame
> rate to play this animation. Playing it at 50fps instead of 20fps
> would not be possible then.

Sorry, the 20 units there are 20 user units for the x coordinate of the
rect, not a number of frames.

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).

> 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. :-)

Cameron

-- 
Cameron McCormack
|  Web: http://mcc.id.au/
|  ICQ: 26955922

Received on Friday, 27 February 2004 21:49:45 UTC