-
Expression for Not fluid interpolation
I am animating an old typewriter. I’m trying to solve how to make the drum or barrel of the typewriter moving progress while the letters goes typing. The animation of the points I made with the preset “Typewriter”.
I think the expression i need is one that neutralizes the interpolation of the position of the barrel and simulates “hold keyframes” showing only the frames whenever the property “Start” of the Range Selector text increase X number of its percentage.
Example: I want the typewriter type “Hello friends, how are you?”. For this case one letter reveals whenever the property “start” increases in 4 (%). And the barrel moves along the X axis from 347 to -399. What I need is that the route of 347 to -399, interpolation move like it was hold frame keyed, any time the range selector increase 4 points.
I was trying with the following code but does not work, is not doing anything!
x_position = linear (comp ( "replacement text.") layer ( "Hello friends, how are you?"). text.animator ( "Animator 1"). selector ( "Range Selector 1"). start, 0, 100, 347 , -399);
y_position = (-639);[x_position, y_position]
I suppose this is so hard to do as to explain it! Hopefully someone can help me!
Sorry my bad english!
x_position = linear (comp ( "replacement text.") layer ( "Hello friends, how are you?"). text.animator ( "Animator 1"). selector ( "Range Selector 1"). start, 0, 100, 347 , -399);
y_position = (-639);[x_position, y_position]