Horje
javaScript Bezier Curve After Effects expression Code Example
javaScript Bezier Curve After Effects expression
N1 = thisComp.layer("Null 1");
N2 = thisComp.layer("Null 2");
N3 = thisComp.layer("Null 3");
N4 = thisComp.layer("Null 4");

p0 = N1.position;
p1 = N2.toWorld(N2.anchorPoint);
p2 = N3.toWorld(N3.anchorPoint);
p3 = N4.position;

c = 3*(p1 - p0);
b = 3*(p2 - p1) - c;
a = p3 - p0 - c - b;

t = index/(thisComp.numLayers - 3);
((a*t +b )*t + c)*t + p0




Javascript

Related
select2 set value jquery Code Example select2 set value jquery Code Example
JSX expression with JS template literals Code Example JSX expression with JS template literals Code Example
table sort datatable Code Example table sort datatable Code Example
why is necessary to run react-native run Code Example why is necessary to run react-native run Code Example
Public properties can be created via Static public fields Code Example Public properties can be created via Static public fields Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10