Skip to content

Commit 8e6bed0

Browse files
committed
Minor edits to 4.4.4 Calculating the translation value of a path animation effect
1 parent 6d5a95e commit 8e6bed0

File tree

1 file changed

+21
-10
lines changed

1 file changed

+21
-10
lines changed

index.html

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3954,23 +3954,34 @@ <h3>Calculating the rotation value of a path animation effect</h3>
39543954
<section>
39553955
<h3>Calculating the translation value of a path animation effect</h3>
39563956
<p>
3957-
The <dfn title="translation value along a path">translation
3958-
value</dfn> of the <a>current path element</a> is
3959-
determined using the following process:
3957+
For a given <a>path element</a> and <a>element fraction</a>,
3958+
the <dfn title="translation value along a path">translation
3959+
value</dfn> is determined using the following procedure:
39603960
</p>
39613961
<ol>
39623962
<li>
3963-
Let <var>length</var> be the length, in pixels, of the
3964-
<a>current element</a>
3963+
<p>
3964+
Let <var>length</var> be the length of the given
3965+
<a>path element</a>.
3966+
</p>
3967+
<p class="todo">
3968+
Need a reference to how this is calculated even if it's just
3969+
a pointer to SVG (which says pretty much nothing).
3970+
</p>
39653971
</li>
39663972
<li>
3967-
Let <var>element distance</var> be equal to the formula
3968-
<code><a>element fraction</a> &#215; <var>length</var></code>.
3973+
Let <var>element distance</var> be the result of evaluating
3974+
<code><var>element fraction</var> &#215; <var>length</var></code>.
39693975
</li>
39703976
<li>
3971-
Let <var>point</var> be the unique point along the
3972-
<a>current element</a> which is <var>element distance</var>
3973-
along the path from the start of the path.
3977+
<p>
3978+
Let <var>point</var> be the unique point along the
3979+
<a>current element</a> which is <var>element distance</var>
3980+
along the path from the start of the path.
3981+
</p>
3982+
<p class="todo">
3983+
What is the significance of &ldquo;unique point&rdquo; here?
3984+
</p>
39743985
</li>
39753986
<li>
39763987
The <a>translation value</a> is the translation transform

0 commit comments

Comments
 (0)