ADVANCED Intro Tutorial (files in desc)

Опубликовано: 31 Май 2026
на канале: ZunaDZN
2,689
165

https://1drv.ms/u/s!ArRE8wAUuVQcg6x6b12hOq...

was fun... byee

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

thisComp.layer("Null - BH").toComp([0,0])

p1 = thisComp.layer("Camera").transform.position
p2 = thisComp.layer("Null - BH").transform.position
sphereRadius = comp("Hole").layer("Shape Layer 1").content("Ellipse 1").content("Ellipse Path 1").size[0]/2;
distanceToSphere = length(p1,p2);
var cameraFOV = 96;
var angularSize = 2 * Math.atan(sphereRadius / distanceToSphere);
var horizontalFOV = cameraFOV * Math.PI / 180;
var sphereSize = 2 * Math.tan(angularSize / 2) * distanceToSphere;
var screenPercentage = (sphereSize / (2 * distanceToSphere * Math.tan(horizontalFOV / 2))) * 100;

ease(screenPercentage, 0, 100, 0,-500)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🖤 Add me on Discord - Zunа#4703
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
© 2024 ZUNADZN