-
somebody analyses this expression into simple math language
This is a bounce-motion expression
Can really anyone explain this expression? It’s not really hard for me to understand the expression but I want to know its mathematical relations and analysis.
THANKSvar bouncesPerSecond = 1.5;
var bounceStrength = 200;
var decayRate = .5;
var floor = thisComp.layer( " floor " ).transform.
position[1];
var bounceOffset = Math.abs(Math.cos(bouncesPerSecond
* time * 2 * Math.PI));
var y = bounceStrength * bounceOffset/Math.exp(decay
Rate * time);
floor = floor = (height/2);
[position[0], floor] = [0,y]