This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//its combining of wiggle position and looping animated keyframes together. | |
//paste to position of layer | |
value1 = [wiggle(0.4, 30)[0], wiggle(0.6, 20)[1]]; | |
value2 = loopOut("continue"); | |
originalPosition = thisLayer.transform.position.value; | |
newValue = originalPosition + value2 - value1; | |
newValue | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// auto animation Wiggle | |
// u can use for position/scale/rotation; | |
amp = .99;// genlik/amplitude | |
freq = 2;// titresim sikligi | |
decay = 5.5;// gecikme/bitis | |
n = 0; | |
if (numKeys > 0){ | |
n = nearestKey(time).index; | |
if (key(n).time > time){ | |
n--; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#automatic Write Node path Optimized with Pulldown menues and other features that you can use as referance for your need | |
#put script in to a phytonButton | |
#basic NUKE v12 & phyton knowledge required!by Arslan-TR (MNS O.) | |
#n is = this is your WriteNode | |
n = nuke.thisNode() | |
#n = nuke.selectedNode() | |
n['file'].setValue('[lrange [file rootname [value root.name]] 0 end-1] [value Sticky_Settings.pulldown][value Sticky_Settings.string_episode]/[lrange [split [file rootname [filename [topnode]]] "_"] 4 end-2][lrange [split [basename [file rootname [value [topnode].file]]] "_"] 1 end-1][value Sticky_Settings.string_episode].mov') | |
#refresh. disable and enable nodes that u want to refresh | |
n['disable_15_render'].setValue(1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C = thisComp.activeCamera; | |
V = C.toWorldVec([0,0,1]); | |
P = toWorld(anchorPoint); | |
O = lookAt(P, P + V); | |
O[1]-290; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//AE, Spin (rotate at a constant speed without keyframes) expression script. | |
// | |
veloc = 360; //rotational velocity (degrees per second) | |
r = rotation + (time - inPoint) *veloc; | |
[r]; | |
// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//AE, Throw (move at a constant speed) expression script. | |
// | |
veloc = -10; //horizontal velocity (pixels per second) | |
x = position[0] + (time - inPoint) *veloc; | |
y = position[1]; | |
[x,y]; | |
// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// After effects, Auto show layer name on screen: | |
// *set it to source of text layer. | |
// I bleave that its usefull when u render a test of editing-montage. | |
txt = ""; | |
for (i = index+1; i <= thisComp.numLayers; i++){ | |
L = thisComp.layer(i); | |
if (! (L.hasVideo && L.active && L.opacity > 0)) continue; | |
txt = L.name; | |
break; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//scale & opacity with 2 in-out position referance point - AE Expression | |
//add expression to objects scale (2 value): | |
[linear(thisComp.layer("Null 3").transform.xPosition //linear`s source | |
, thisComp.layer("Null 1").transform.xPosition //min Value of referance | |
, thisComp.layer("Null 2").transform.xPosition //max Value of referance | |
, 100, 0) //linear's output values | |
,value[1]]; //second dimension value | |
///////// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Spin (rotate at a constant speed without keyframes): | |
veloc = 360; //speed (degrees per second) u can adjut the velocity value! | |
r = rotation + (time - inPoint) *veloc; | |
[r]; | |
// Throw (move at a constant speed without keyframes): | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//this is auto fade expression. with this u just have to cut the layer and its gonna fade-in & Out automaticly | |
//Autofade (linear) Add the experssion to opacity of the layer | |
transition = 8; // transition time in frames u can adjust it! | |
if (marker.numKeys<2){ | |
tSecs = transition / ( 1 / thisComp.frameDuration); // convert to seconds | |
linear(time, inPoint, inPoint + tSecs, 0, 100) - linear(time, outPoint - tSecs, outPoint, 0, 100) | |
}else{ | |
linear(time, inPoint, marker.key(1).time, 0, 100) - linear(time, marker.key(2).time, outPoint, 0, 100) |
NewerOlder