Code: Select all
maxAmp = 30;
minAmp = 1;
spanAmp = maxAmp - minAmp;
incAmp = sqrt(spanAmp);
if(varAmp < spanAmp/2){
(varAmp / incAmp) - incAmp;
} else {
(varAmp / incAmp) + incAmp;
}
inAmp divides everything up evenly, so in case your amp is higher than 30, the code will adjust accordingly.
put this code in your time-remap layer. (some playing with would probably be required for a special look).
.. more comin soon