Compare from-to, from-by and by animateTransform translate with values animateTransform and animateMotion
Compare from-to, from-by and by animateTransform translate with values
animateTransform and animateMotion.
SMIL specifies, that from-to, from-by and by animations have to be the same
as the related values animation.
The conversion is as follows:
from="a" to="b" ... values="a;b"
from="a" by="b" ... values="a;a+b"
by="a" ... values="0;a" additive="sum"
(by and from-by animations have only a meaning, if values can be added somehow.
'0' is used as a general symbol for the neutral element of addition for the related attribute,
this means 0 + a = a + 0 = a. And '0' is not equal to the symbol '1' as the basic unit of the
related attribute, '0' is a predecessor of '1' in the related attribute space. For animateTransform
the '0' is the same as the zero matrix, not the unity or identity matrix.
For the translate type this is a translation given in coordinates: 0,0.)
The from-to, from-by and by are applied to animateTransform of the translate type
of different blue stroked
paths and are compared with the related values animations including additive and
cumulative behaviour for underlying red paths. Additionally underlying dark red
paths simulate the same behaviour using always the defaults additive replace and
accumulate none with animateMotion. The blue paths cover all red paths.
Therefore if something red gets visible, the test is failed.
from-to animateTransform translate
from-by animateTransform translate
by animateTransform translate
attributes noted:
cumulative/additive;
cumulative/not additive;
not cumulative/additive;
not cumulative/not additive