Dan Ebberts: Activity About Popular Images
Dan Ebberts

COW Leader
Member Since:
May 22nd 2001
9735 Posts
100 posts500 posts1000 posts5000 posts
Friends:

Adam levine

Alex Covella

Alex Sparrow

Andres Delgado

bart stevens

Daniel Futerman

Devashish Das

edy brown

Ernesto Sanchez

Fabio Apelbaum

ido shor

Ismael Millán

James Poulakos

James Zwadlo

Jason Jantzen

Jason Symson

Jay Andrew

Kalleheikki Kannisto

Karen Grigorean

Katryna Sleptzoff

Kevin C. Burke

Logan King

Luis Florez

matthew tully

Navarro Parker

Paul Roper

Philip Bowser

ronnie bink

Sean Dunn

Snorre Hjelseth

Tim Allen
Stop loop expression at certain time period
by Krishna Moorthy 1 year ago
I have created a looping animation using the expression, as I want only the last two keyframes to loop. Now, the solution am looking for is to stop the loop at some point of time of my choice. Am sure
Re: Stop loop expression at certain time period
by Dan Ebberts 19 hours ago
That would be something like this: nLoops = 10; if (numKeys 1){ loopDur = key(numKeys).time - key(1).time; n = Math.floor((time - key(1).time) loopDur); if (n < nLoops){ t = (time - key(1).time)%lo
Mark names to text layer
by Fernando Mol 8 years ago
Hi, guys. I was wondering if there's a way to get the text from markers and place it as the source of a text layer. Thanks in advance *Always share a link to your site and rate the posts. This is a fr
Re: Mark names to text layer
by Dan Ebberts 3 days ago
I guess you could add an opacity expression like this: n = 0; if (marker.numKeys 0){ n = marker.nearestKey(time).index; if (marker.key(n).time time) n--; } if (n 0){ t = time - marker.key(n).time; eas
thisProperty
by Marcus Round 4 years ago
Newbie question. I want a camera in one comp to have the exact same attributes as a camera in another comp. comp("MasterComp").layer("MasterCamera").thisProperty results in error: "property or method
Re: thisProperty
by Dan Ebberts 4 days ago
Probably. The expression would need to detect the triggering event, figure out how long ago it happened, and use valueAtTime() to get the appropriate value from the 1:20 to 1:40 range. Dan
Link Color To The Position Of Null
by Kiryla Chilko 5 days ago
Hi everyone! Hope you can help me to overcome my AE expression illiteracy So basically I'm doing some UI demo animation and there's a drop-out menu with font options. I want to make the area of the te
Re: Link Color To The Position Of Null
by Dan Ebberts 5 days ago
You could try something like this: p = thisComp.layer("cursor null").transform.position; white=thisComp.layer("mask").effect("selectionWhite")("Color"); blue=thisComp.layer("mask").effect("selectionBl
Animate a layer in and out via the ease expression
by Gerold Brunner 6 days ago
Hey Guys, is there a way to animate one layer in and out via the 'ease' expressions I tried this, but it's not working obviously^^ Variables are just placeholders How would I get around that Thanks! e
Re: Animate a layer in and out via the ease expression
by Dan Ebberts 6 days ago
I haven't tested it, but it would look something like this: if (time < inPoint + .5) easeOut(time,inPoint,inPoint+.5, x,y , x1,y1 ) else easeIn(time,outPoint-.5,outPoint, x1,y1 , x,y ); Dan
+1
Data Driven Animation: get Color from Json
by Alex Weil 7 days ago
Hey folks i have a color in my Json file { "textcolor": " 255,0,255,255 " } now in my footage i got the "textposition" field with an expression on it. how do i get the color informations out of it and
Re: Data Driven Animation: get Color from Json
by Dan Ebberts 6 days ago
I can't exactly picture what you're describing, but if you import your json file, you could then use something like this on the color property: data = footage("your_json_file.json").sourceData; eval(d
Get expanded properties only Extendscript
by Miguel de Mendoza 7 days ago
Hi, usign extendscript, is possible to get only the properties of a layer that are expanded on the UI . For example, when you press "p" and position is shown, get only the position(without selecting i
Re: Get expanded properties only Extendscript
by Dan Ebberts 7 days ago
No, you don't have that kind of access to the state of the UI. Dan
Select Specific word from a paragraph to another text layer
by Devendra Singh 1 week ago
I know it's sound confusing but let me explain it. Basically what my goal is that I'm trying to make a template ( stomp opener ) and I want to allow the user to change all the text from one single lay
Re: Select Specific word from a paragraph to another text layer
by Dan Ebberts 1 week ago
The way you have it set up (with the master text layer being layer #1), something like this should work: txt = thisComp.layer("your text layer").text.sourceText; myIndex = index-2; try{ txt.split(" ")
Layers skew when rotating
by Ryan Stone 9 years ago
Hey everyone, This is one of those stupid simple questions. I must have pressed a wrong key somewhere and it's activated 'something'. When I rotate a layer it skews and extends horribley, until it rea
Re: Layers skew when rotating
by Dan Ebberts 1 year ago
I'm not aware of a workaround, but would love to hear about it if someone else knows of one. Dan
test
by Dan Ebberts 1 year ago
<
ido shor 2 years ago
Hey dan, I posted a Q on the expression forum, will be great if you'll find the time to answer.

tnxx
Ismael Millán 3 years ago
Circular motion y axis

When i put the rate to 0, the motion is backward, any help? (sorri my english)
The position expression:
radius=effect("Radio")("Slider");
rate=effect("Frecuencia")("Slider");
offset=effect("Offset")("Slider");
angle=time*rate+offset;
x=radius*Math.cos(degreesToRadians(angle));
y=transform.position[1];
z=radius*Math.sin(degreesToRadians(angle));
centre=thisComp.layer("Null 1").transform.position;
add(centre,[x,y,z])
Dan Ebberts 3 years ago
Controlling speed is tricky business. This might help: http: www.motionscript.com articles speed-control.html Dan
Fabio Apelbaum 3 years ago
Hi Dan! hope your day is going well!

Let me ask you a question.. I saw a UI script someone created that when the mouse is over a button, a small description comes at the bottom of the script that looks like statictext but changes when the mouse goes over other buttons.

because the file is encrypted I was not able to open and learn how its done, would you happen to know?

I been playing all morning trying using the event listener and handler, but not sure if thats how its done. and how can you tell the handler to change whichever info in the statictext.

Thank you for your time!!

Take care,

Fabio
Fabio Apelbaum 3 years ago
Hi Dan, could you plese lend me a hand? I was able to write this script and works perfect as long as a project was open in after effects before running the script. But I noticed that if I just opened AE and run the script, it gives me an error at: line3: var projName = proj.file.name.replace(/%20/g, " ");

I understand that the error is happening because it can not find an open file name when AE just opened... but how can I avoid this error?

var my_file = new File("/Volumes/XSANESN/CreativeServices/Projects/ON_AIR_PROMOS/RED_SOX/15_RED_SOX/15_RED\ SOX\ TUNE\ INS/Graphics/RS_Tune_In_Toolkit/RS_Tune_In_Toolkit.aep");
var proj=app.project;
var projName = proj.file.name.replace(/%20/g, " ");



if (projName == null){
new_project = app.open(my_file);
}
else {

if (projName == my_file.name){
alert(projName + " IS ALREADY OPEN");
}
else{
if (my_file.exists){
new_project = app.open(my_file);
}
else {
new_project2 = app.open();
}
}
}
if (new_project){
alert(projName + " IS NOW OPEN, ENJOY");
}


Application




Thanks a lot!
Fabio Apelbaum 3 years ago
Sorry, sent you the wrong version... this is it: var my_file = new File(" Volumes XSANESN CreativeServices Projects ON_AIR_PROMOS RED_SOX 15_RED_SOX 15_RED\ SOX\ TUNE\ INS Graphics RS_T [more]
Dan Ebberts 3 years ago
Before doing anything with the project file, you can test if it exists: if (app.project.file == null){ Does that help Dan
Fabio Apelbaum 3 years ago
Thanks Dan! That worked! to much to learn but I am doing better!. Now, let me ask you.... I do have a collection of items required to run the script I am working on, so far with your help I am now abl [more]
Dan Ebberts 3 years ago
I would guess it would be like this: var myItem = null; for (var i = 1; i <= app.project.numItems; i++){ if ((app.project.item(i) instanceof FolderItem) && (app.project.item(i).name == "x"){ myItem [more]
Fabio Apelbaum 3 years ago
Thanks Dan!!! last question! Just noticed that each computer is trying to connect to the file through different paths, call it an ingeniering problem in our workplace... never the less some computers [more]
Dan Ebberts 3 years ago
I guess you try each path (maybe inside a try catch to trap any errors) and then use .exists to see if the file is there. Something like that. Dan
Fabio Apelbaum 3 years ago
Hi Dan, hope this message finds you well!! As always! thank you for all your help. I run into an new issue, I tried my best to make it easy to understand, could you please take a look?

https://forums.creativecow.net/thread/227/29570

Thanks a lot!

Fabio
Fabio Apelbaum 3 years ago
Hi Dan! First of all Im so please to meet you. You are an inspiration to everyone, certainly to me. I been following your responses to everyone and trying to learn as much as I can about scripting. I have to say I truly fall in love with it. Still a newbie with so much to learn.

In the meantime, if its not to much to ask, I would love if you can take a look to my latest question... I havent been able to find an answer on my own.

this is the post: https://forums.creativecow.net/thread/227/29492

Thank you in advance!

Fabio
Logan King 3 years ago
Hi Dan,
Wanted to message you here instead of creating a separate forum post.

I am creating a 2.5 D parallax scene controlled through a null object. Thanks to you now I am able to use that expression code you helped me understand for this project.
I would like to ask a separate question, its again pretty simple and could be very noobish.

Problem :
When I space out 3 or more layers in the Z axis (depth) the layer that is farthest from the camera appears to be slightly faded than the ones close to the camera.
I m sure this is a simple FOV / Depth issue which can be corrected, can you advice me what to do here ?
Alex Sparrow 4 years ago
Hello! A week ago, I created a theme which has placed a piece of me translated site. http://www.motionscript.com - your website. May I ask your opinion on account of publication?
Alex Sparrow 4 years ago
theme - http: forums.creativecow.net readpost 227 27572
Dan Ebberts 4 years ago
Hi Alex, That's nice work. However I'd really rather not have my content showing up on other web sites. Thanks. Dan
Alex Sparrow 4 years ago
Ok. Thank you. But I can give you translated materials
Dan Ebberts 4 years ago
That's a generous offer, but I don't know what I would do with it. I would have no way to maintain it and it would be strange to have only one translated version on my site.
Alex Sparrow 4 years ago
Thanks again. I just save this material.
Position Expressions
by Alan Young 4 years ago
I've been doing successfully with increasing the y position of my comps with position+ 0,(index-1)*1000 and got to the position from 0 to 49000... however now I want it to go backwards towards 0. Can'
Re: Position Expressions
by Dan Ebberts 4 years ago
I haven't tested this, but it should be close: if (index <= 50) position+ 0,(index-1)*1000 else position+ 0,49000 - (index-50)*1000 Dan
Expression. Random start-position to final-position
by Kasper Nyman 4 years ago
Hi, I'm having this issue with expression in After Effects, and hope someone can help me. I have 40-50 circle set up so they make a certain shape. I would like to add an expression that tells each cir
Re: Expression. Random start-position to final-position
by Dan Ebberts 4 years ago
Actually, there are also easeIn() and easeOut(). Dan
+1
Expression to dynamically adjust values based on proximity to camera
by Alex Christenson 4 years ago
Hey yall! Let me preface this by saying this is my first deep foray into expressions. I've gotten thus far based on my spotty PHP Actionscript knowledge but have hit some walls. I'm designing a halluc
Re: Expression to dynamically adjust values based on proximity to camera
by Dan Ebberts 4 years ago
That piece of the expression is calculating the z distance from the focal plane (the comp view) to the fake 50mm camera that simulates how 3D in AE works when there is no camera. To do that, it uses h
Looping a Video Clip (Ping Pong Style)
by Marius Crowne 5 years ago
Hey there, all. I know how to use expressions to make effects and animations loop, but what if I just want a video clip to do it And when I say "loop," I'm specifically talking about the "ping pong" s
Re: Looping a Video Clip (Ping Pong Style)
by Dan Ebberts 5 years ago
This should work-- Turn on time remapping, add a new keyframe one frame before the last keyframe that AE creates, delete the last keyframe, and add this expression: loopOut("pingpong") Dan
+3
Parenting Single Layer to different nulls at layer markers
by Augusto Sotomayor Jaramillo 5 years ago
Hello Ae folks! I am trying to have 1 comp follow different nulls (each containing diff. animated properties) at comp markers. Is that possible thanks!
Re: Parenting Single Layer to different nulls at layer markers
by Dan Ebberts 5 years ago
I think the closet you can come is to split the layer at the time where you want to switch parents, and select the other parent for the new layer. Dan
Expressions: Leading zeros and decimal places.
by Jakub Michalski 13 years ago
For some time now I have been cracking my head tryign to figure out if there is a way to develop an expression for Text Source that would allow the number (say, driven by a calculation, or a link to s
Re: Expressions: Leading zeros and decimal places.
by Dan Ebberts 5 years ago
Try it this way: num = thisComp.layer("Deep Lime Green Solid 1").effect("Slider Control")("Slider").value; neg = num < 0; num = Math.abs(num); numDigits = 5; numDec = 2; s = "" + Math.floor(num); w
+1
Need assistance: trying to use external text file to update sports score at certain times
by Tony Janks 5 years ago
Hi all, I have been teaching myself After Effects (specifically around using expressions). Anyway, I record my daughter's volleyball games, render the MTS' as MP4, then share with the other parents. N
Re: Need assistance: trying to use external text file to update sports score at certain times
by Dan Ebberts 5 years ago
That's one big advantage of doing it with a script vs. an expression. Dan
have I been a bad boy ?
by Bob Zelin 6 years ago
My last two posts (without hysteria) are being "moderated". Did I do something wrong Bob Zelin
Re: have I been a bad boy ?
by Dan Ebberts 6 years ago
Well that probably explains why I'm also not getting notification of new threads any more. So the comcast server must think you guys are spammers. I don't know what to do about that. Dan
test
by Dan Ebberts 11 years ago

© 2018 CreativeCOW.net All Rights Reserved
[TOP]