javascript - initialise time of animation svg not to 0s -
i want declare animation svg, exemple: begin x @ 100, finish @ 300 in 10 seconds.
<animatemotion path="m100,0 l300,0" dur="10s" begin="0s" />
but now, want initialize start of animation x seconds (here exemple: 5sec) past. want anim realy start @ 200 , finish @ 300 in 5 seconds.
exactly setcurrenttime() does, works on svg (and so, animations). need set each animations different dynamic values.
how can initialise animation not begin x seconds past?
thx.
sounds want call beginelementat on animation element. creates begin instance time current time plus specified offset.
if want animation act if has begun pass negative number.
Comments
Post a Comment