nominalDist = 200;
d = length (thisComp.layer("Camera 1").toWorld([0,0,0]),toWorld(anchorPoint));
value*(d/nominalDist)
Keeps stroke width visually consistent regardless of the layer’s distance from the camera in 3D space. Note: Requires an active Camera layer for proper functionality.
Great for 3D projects where stroke width consistency is critical, such as motion graphics with line animations.