[x3d-public] id attribute proposal

Andreas Plesch andreasplesch at gmail.com
Fri Apr 1 07:46:05 PDT 2016


This is an example on how the DOM via javascript is used to animate. There
is no difference between a script element inside or outside a svg scene
which is a fragment of a document.

https://www.w3.org/TR/SVG11/script.html#ScriptElement

Andreas


On Fri, Apr 1, 2016 at 5:23 AM, Joe D Williams <joedwil at earthlink.net>
wrote:

> https://developer.mozilla.org/en-US/docs/Web/SVG/Element/script
>
>
> ----- Original Message ----- From: "Andreas Plesch" <
> andreasplesch at gmail.com>
> To: "X3D Graphics public mailing list" <x3d-public at web3d.org>
> Sent: Thursday, March 31, 2016 4:42 PM
> Subject: Re: [x3d-public] id attribute proposal
>
>
> http://blogs.adobe.com/dreamweaver/2015/06/the-state-of-svg-animation.html
>>
>> has a lengthy discussion on SVG animation. It concludes that animation via
>> the DOM are in many cases the best option because SMIL is deprecated and
>> easily replaced by more powerful JavaScript.
>>
>> I was hoping that the article goes into how collisions between SMIL, CSS
>> and DOM based animation are resolved but it does not. Apparently it is not
>> a concern.
>>
>> Andreas
>>
>> It turns out that SVG uses the SMIL animation model:
>>
>> https://www.w3.org/TR/smil-animation/
>>
>> It defines that animation does not affect the DOM value of an animated
>> property but a separate presentation value which is only accessible to the
>> animation runtime, and not the DOM. The specification does not go into
>> what
>> values are used for rendering but the idea is certainly that the
>> presentation value is used. This would make it necessary for a renderer to
>> keep track of what attributes are currently animated by SVG and which ones
>> are not. Since the animate element is the only possible way to do this in
>> SVG, this is feasible. For the richer X3D scene graph, this would be much
>> harder and does not seem like a good model to follow at first glance.
>>
>> Andreas
>>
>>
>
>
> --------------------------------------------------------------------------------
>
>
> _______________________________________________
>> x3d-public mailing list
>> x3d-public at web3d.org
>> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>>
>>
>


-- 
Andreas Plesch
39 Barbara Rd.
Waltham, MA 02453
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20160401/4e076a0e/attachment.html>


More information about the x3d-public mailing list