Skip to content

Instantly share code, notes, and snippets.

FluxVFX MarissaJ

Block or report user

Report or block MarissaJ

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@MarissaJ
MarissaJ / counting-up-after-effects-two-commas
Created Nov 11, 2019
Animate Numbers Counting up with One Comma in After Effects
View counting-up-after-effects-two-commas
start=parseInt(thisLayer.text.sourceText="0");
end=parseInt(text.sourceText);
val=Math.round(easeOut(time, startTime, 2,start, end));
s=""+ val;
if (s.length > 6){
s.substr(0, s.length -6) + "," + (s.substr(1, s.length -4) + "," + s.substr(-3));
}else{
if (s.length > 3){
s.substr(0, s.length -3) + "," + s.substr(-3);
}else{
@MarissaJ
MarissaJ / counting-up-after-effects-one-comma
Created Nov 11, 2019
Animate Numbers Counting up with One Comma in After Effects
View counting-up-after-effects-one-comma
start=parseInt(thisLayer.text.sourceText="0");
end=parseInt(text.sourceText);
val=Math.round(easeOut(time, startTime, 2,start, end));
s=""+ val;
if (s.length > 3){
s.substr(0, s.length -3) + "," + s.substr(-3);
}else{
s
}
@MarissaJ
MarissaJ / counting-up-after-effects-basic
Created Nov 11, 2019
Animate Numbers Counting Up in After Effects
View counting-up-after-effects-basic
start=parseInt(thisLayer.text.sourceText="0");
end=parseInt(text.sourceText);
val=Math.round(easeOut(time, startTime, 4,start, end));
@MarissaJ
MarissaJ / Line-break-control.js
Last active Nov 20, 2018
After Effects Data Driven Expression- Line Break Control
View Line-break-control.js
row = parseInt(thisComp.layer("Data-Sample.csv")("Data")("Number of Rows")-1);
thisComp.layer("Data-Sample.csv")("Data")("Outline")("Long Text")("Long Text " + row)
txt = thisComp.layer("Data-Sample.csv")("Data")("Outline")("Long Text")("Long Text " + row);
n = effect("Line Break")("Slider");
outStr = "";
newLine = "";
splt = txt.split(" ");
for (i = 0; i < splt.length; i++){
if ((newLine + " " + splt[i]).length > n){
@MarissaJ
MarissaJ / data-based-on-time.js
Last active Nov 20, 2018
After Effects Data Driven Expression- Display Column Data Based on Time
View data-based-on-time.js
values = [];
for(i=0;i<=thisComp.layer("Data-Sample.csv")("Data")("Number of Rows")+2;i++) {   
  values.push(thisComp.layer("Data-Sample.csv")("Data")("Outline")("Number Data")("Number Data " + i).value);
} v=values.join(",");
string=v;
array=string.split(",");
l=array.length;
sec=Math.floor(time/effect("Slider Control")("Slider"));
if(sec<l){
@MarissaJ
MarissaJ / largest-value-column-data.js
Last active Nov 20, 2018
After Effects Data Driven Expression- Display Largest Value in a Spreadsheet Column
View largest-value-column-data.js
values = [];
for(i=0;i<=thisComp.layer("Data-Sample.csv")("Data")("Number of Rows")+1;i++) {   
  values.push(thisComp.layer("Data-Sample.csv")("Data")("Outline")("Number Data")("Number Data " + i).value);
}
Math.max.apply(null, values)
@MarissaJ
MarissaJ / smallest-value-spreadsheet-column.js
Last active Nov 20, 2018
After Effects Data Driven Expression- Smallest Value in a Spreadsheet Column
View smallest-value-spreadsheet-column.js
values = [];
for(i=0;i<=thisComp.layer("Data-Sample.csv")("Data")("Number of Rows")-1;i++) {   
  values.push(thisComp.layer("Data-Sample.csv")("Data")("Outline")("Number Data")("Number Data " + i).value);
}
Math.min.apply(null, values)
@MarissaJ
MarissaJ / data-row-number.js
Last active Nov 20, 2018
After Effects Data Driven Expressions- Display Data Based on Row Number
View data-row-number.js
n=Math.round(thisComp.layer("Data-Sample.csv")("Data")("Number of Rows"));
values = [];for(i=n-1;i<=n-1;i++)
{     values.push(thisComp.layer("Data-Sample.csv")("Data")("Outline")("Text Data")("Text Data " + i).value); }
values;
@MarissaJ
MarissaJ / last-value-in-column.js
Created Nov 20, 2018
Get the last entry in a column
View last-value-in-column.js
rows =thisComp.layer("Data-Sample.csv")("Data")("Number of Rows")+1;
last_val= 0;
for(i=0;i<rows;i++) { if(thisComp.layer("Data-Sample.csv")("Data")("Outline")("Number Data")("Number Data " + i))
{
Math.max(last_val= thisComp.layer("Data-Sample.csv")("Data")("Outline")("Number Data")("Number Data " + i)); } } last_val;
@MarissaJ
MarissaJ / color-hex-expression
Created Nov 20, 2018
After Effects 2019 Color Hex Value Expression
View color-hex-expression
colorText=thisComp.layer("Data-Sample.csv")("Data")("Outline")("Color Data")("Color Data 0").toString();
hexToRgb(colorText);
You can’t perform that action at this time.