SpeedCurve script. Like AE.

Me and my co-worker are having some beers at the office. I just wanted show a speedCurve script I just did. In case you like that speedcurve seen in AE. I’ve made a localParameter which checks the speed of the xPan and then if you add the speedcurve parameter to the curve editor you get a speed curve like in After Effects. Might be useful, might not 🙂

Text1 = Text(1280, 720, 2, "SpeedCurve", "Utopia Regular", 100,
xFontScale/GetDefaultAspect(), 1, width/2, height/2, 0, 2,
2, 1, 1, 1, 1, 0, 0, 0, 45, 0, 1);
Pan1 = Pan(Text1, Hermite(0,[0,0,0]@1,[243,0,0]@23,[148,90.11,90.11]@42,[462,-94.17,-94.17]@62,[-315,-98.37,-98.37]@75,[-49,96.64,96.64]@100,[0,0,0]@120),
Hermite(0,[0,0,0]@1,[0,0,0]@23,[0,0,0]@42,[0,0,0]@62,[0,0,0]@75,[0,0,0]@100,[0,0,0]@120),
0, 0.5, 0, float speedCurve = ((xPan@@(time+1)) – (xPan@@(time))) *10);

// User Interface settings

SetKey(
"nodeView.Pan1.t", "0",
"nodeView.Pan1.x", "-5075",
"nodeView.Pan1.y", "-6494",
"nodeView.Text1.t", "1",
"nodeView.Text1.tnChannel", "0",
"nodeView.Text1.tnTime", "1",
"nodeView.Text1.tnVisible", "1",
"nodeView.Text1.x", "-5102.82373",
"nodeView.Text1.y", "-6423.714"
);

Cheers!

No Responses to “SpeedCurve script. Like AE.”

Post a Comment