Search found 3 matches

by youkaze
June 11th, 2019, 8:32 pm
Forum: Expression Discussion
Topic: Bouncing Ball expression problem
Replies: 0
Views: 182

Bouncing Ball expression problem

I created a bouncing ball animation, the expression effect like this: http://youkaze.design/works/picture/p1-1.jpg The wrong code: yf = 2.5; yd = 3; yamp = 600; cos = Math.cos(yf*time*2*Math.PI)/Math.exp(yd*time); elevcos = Math.abs(cos); y = yamp * elevcos; xf = 2.5; xd = 1; xamp = -400; sin = Math...
by youkaze
July 28th, 2018, 9:40 am
Forum: Expression Discussion
Topic: How to use MarkerKey to control the start time and end time
Replies: 2
Views: 2595

Re: How to use MarkerKey to control the start time and end time

zlovatt wrote:
July 26th, 2018, 11:50 am
Check this out: http://www.motionscript.com/design-guid ... -sync.html
thank you, I have already solved this problem with this solution. :D

time =thisComp.duration

linear(time, inPoint, marker.key(1).time, 0, 1) - linear(time, marker.key(2).time, outPoint, 0, 1)
by youkaze
July 25th, 2018, 12:46 pm
Forum: Expression Discussion
Topic: How to use MarkerKey to control the start time and end time
Replies: 2
Views: 2595

How to use MarkerKey to control the start time and end time

This is the example here: http://youkaze.com/picture/markerkey.png I want to know how to make the same effect like this example, dragging the IN tag on the diagram to change the duration of the effect, there is a keyframe and eval expression on time remap, but I can't understand the expressions in t...