Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

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
Comment

PREVIOUS NEXT
Code Example
Javascript :: JS equal sibling btns height 
Javascript :: utility javascript function list 
Javascript :: The setTimeout() method receives the second parameter in 
Javascript :: how to make your own version of filter method 
Javascript :: check for changes in other store NUXT JS 
Javascript :: binary function 
Javascript :: imleç 
Javascript :: blockchain.info/pushtx 
Javascript :: combine 2 data in column 
Javascript :: date calendar show only icon click 
Javascript :: dict equivalent js 
Javascript :: MongoDB Express Find All In Database 
Javascript :: actual jquery 
Javascript :: Joining two arrays with lookup 
Javascript :: check if a text field is empty javascript 
Javascript :: react-popper-2 
Javascript :: React Native Component with Random Hexa 
Javascript :: Creatable Multiselect 
Javascript :: Changing Prototype 
Javascript :: proxy{} map in console 
Javascript :: angularjs $q all hash 
Javascript :: moment format time 
Javascript :: js two operations in ternary 
Javascript :: hide header on button click in react native 
Javascript :: Priority Queue Element 
Javascript :: jquery code convert into javascript online 
Javascript :: window handles 
Javascript :: how to get a set of values in mogodb 
Javascript :: add function 
Javascript :: traversing 2d array javascript 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =