This expression is really cool, but it only works is regards to the foreground. I would love for my objects to start in focus, and as they falls back in Z-space, away from camera, they get more blurry.
Can you help?
applied to fast blur:
// Blur from Distance to Camera
dist = length(thisComp.layer("Camera_1_Shape1").position/12, position/2);
B = dist/10;
[B]