-
Expression Motion Blur
Hi there,
im stupid and can’t script and i was lucky that i’ve found the following expression to move text up the screen in constant increments:
f = timeToFrames(time);
line = Math.floor(f/25);
pix = Math.min(f%25,10);
pixe = ease(pix, 0, 10, 0, 60);
value – [0, line*60+pixe]Now i’ve got some questions about that expression.
I’ve figured out that “60” is the amount of pixels the layer is moved.
I’ve also figured out that if i raise both of the “25” values to lets say 50, it moves the layer every 2 seconds instead of 1.But how can adjust the time it takes for the move?
Maybe somebody can explain in simple words what the lines of the script do so i can understand better what’s going on here.
Another thing is motion blur, it acts weird when turned on.
I’ve put the script on a null.
That null drives a text layer, much like a title scroller but it moves in increments.
When i turn on motion blur for that text layer it looks like the layer gets copied and made half transparent.
But there is no blur.
Must’ve something to do with the way AE calculates the movement controlled by the expression.Is there a way to make motion blur work with that expression or do i need a different expression for that?
Thank’s a lot,
cheers,
Chrisf = timeToFrames(time);
line = Math.floor(f/25);
pix = Math.min(f%25,10);
pixe = ease(pix, 0, 10, 0, 60);
value - [0, line*60+pixe]