Re: Animating <polygon> along a path - weird behavior

I am pretty sure you are aware, but you can fix it by adding  transform="translate(-433,-392)” to the group element. 


On 8 Aug 2014, at 5:04, Sara Soueidan <sara.soueidan@gmail.com> wrote:

> Hello guys,
> 
> So I was trying to animate a <polygon> along a path using <animateMotion> and got some unpredictable behavior. 
> 
> Here is a live example: http://jsfiddle.net/SaraSoueidan/qL0hz6kr/6/
> 
> The red cross is a <polygon> that I'm trying to animate along path#route.
> 
> You can see how it behaves in the live demo.
> 
> I then tried to wrap the polygon in a group <g> and animate the group instead; got the same result.
> 
> Upon asking Dirk Schulze about this issue, he requested that I send an email to your mailing list. Hope this helps debug this behavior somehow.
> 
> Thank you!
> 
> -- 
> Best,
> Sara
> 
> http://sarasoueidan.com
> @SaraSoueidan

Received on Friday, 8 August 2014 02:24:44 UTC