Re: <SVGScript></SVGScript>

[please dont' top-post http://wiki.csswg.org/tools/www-style]

On Mon, Jun 16, 2014 at 12:23 PM, L2L 2L <emanuelallen@hotmail.com> wrote:
> Building SMIL on top of JavaScript for animation purpose. Make an object out of each SMIL tag. For I.g.:
>
> <SVGScript>
>
> <![CDATA[
>
> var SVGTag = xlink:href("#animate");
>
> SVGTag.animateMotion(dur=6s, repeatCount="indefinite", rotate="auto");
>
> /* something along those lines, utilize and embed the xPointer, xLink, xQuery, xPath.*/
>
> ]]>
>
> </SVGScript>
>
> could be the tag declaration, or <SMILScript>
> <![CDATA[
>
> var SVGTag = xlink:href("#animate");
>
> SVGTag.animateMotion(dur=6s, repeatCount="indefinite", rotate="auto");
>
> /*but since this is the w3c SVG working group, it's up to you guys. But I think it'll make it more easier to get the SMIL group involve with this tag, or implement both; redundant? That what most people say about most of the SVG tags, but giving people the ability to choice the tag they most support or represent... I for one would use <SVGScript> tag*/
>
> ]]>
> </SMILScript>
>
> (again I request to make these object also available in EMCAScript/JavaScript.)

It sounds like you're just asking for better ways to do animation in
script.  Luckily this is already possible, via Web Animations
<http://dev.w3.org/fxtf/web-animations/>.  This is being implemented
in Chrome/Opera and Firefox today, and other browsers should do it
soon.

As a tip for the future, it's far more helpful if you describe the
problem you're having, rather than describing a solution you've come
up with.  Your problem might already be solved, or be in the process
of being solved, and it's far easier to figure out what to tell you if
you describe your problem directly.  Because you instead went straight
to a solution here, I had to puzzle out what you were actually asking
for, which took longer and required more typing by both of us.

~TJ

Received on Monday, 16 June 2014 19:47:43 UTC