timing of an animation
A simple animation is used to test accurate rendering and timing.
SVG tiny requires a rendering accuracy within one device pixel and
a number range between -32767.9999 and +32767.9999 for the
data type number.
A simple from-to animation of cx of a blue circle with a duration of
32000ms (32s) is used with a from value of 0 and a to value of 32000.
The animation ends with an end attribute with a value in this
range. With a transform attribute for a g element the end value is
centered in the document.
Only the frozen final value is target of the test, it is not expected
to see a high precision continuous animation.
The correct frozen position is indicated with a dark red circle,
The fill of the dark red circle is set to red at the end time.
For an additional circle of the same group the fill is set from dark gray
to light red, covering the red circle, if cx and transform is correct, while
this is covered by the blue circle.
This means, all circles have to be rendered within an
accuracy within one device pixel. The animated blue circle has to
cover the red circles within an accuracy of less than one pixel. If
more than such a residual of red is visible or the circles are not
rendered as circles, an error is occured.
To get the highest accuracy for the test, the size of the document
and therefore the viewport in the viewer has to be as large as
possible.
The test has three optional GET-parameters, one is the radius of
the circles (rad) within the range from 0.0001 to 10 and the
end position and time of the animation (pos) within the
range from 1 to 32000 pixel respectively ms. The fraction of
rad and pos cannot have more than 4 digits.
The third parameter is a scaling correction factor (sc between
0.0001 and 3). This is useful just to increase accuracy (sc above1)
or to decrease accuracy (sc below 1) only to analyse errors
(larger deviations), if the blue circle is not displayed in the viewport
when the light blue circle turned red, respecitively the gray red.
cx=: 8089.1356 at 8089.1356ms