ok, so let me see if i understand this…
-valueAtTime, means: be this value (that we are about to calculate inside the brackets) right now?
-percent, well thats obvious.
-*key(numKeys), the number of keyframes, in this case 2.
-.time/100, the current time (frame #?) divided by 100?
this last part is what confuses me. is it numKeys x frame# / 100?
so, the path gets converted into 2 keyframes and into a linear animation, 0% at key1 and 100% at key2 (hence the /100 at the end?). every point on the path in between is just an interpolation so the graphic sticks to the path and maintains that constant linear speed. the shape of the path is not important, only that its getting from point A to B over a linear number of frames…?
so if it was frame 75, and the stroke was at 18%, it would be valueAtTime = (18x((2×75)/100))? so it would return a value of 27? meaning the graphic should be 27% way through its animation?
…am i on the right track here? 🙂