Dan Ebberts: Activity About Liked Popular Images
Dan Ebberts

COW Leader
Member Since:
May 22nd 2001
10784 Posts
100 posts500 posts1000 posts5000 posts10000 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
posterizeTime wiggle with smooth movement
by Paul Maynard 3 weeks ago
Hi, I'm trying to create a random rotation effect that stops between movements for 2-3 seconds. I've used the posterise wiggle expression which gives me the random movement and pauses, but jumps betwe
Re: posterizeTime wiggle with smooth movement
by Dan Ebberts 3 weeks ago
This should work: moveTime = 2; pauseTime = 2; n = Math.floor(time (moveTime + pauseTime)); d = Math.min(time%(moveTime + pauseTime),moveTime); t = n*moveTime + d; wiggle(1,10,1,0.5,t) Dan
Random value every X frames offset?
by Daniel Rivas 4 weeks ago
Hello, I'm using a simple random expression every 13.7 frames (every beat of a song) but the expression begins 5 frames into the clip (instead of 13.7 frame, a beat), so the effect changes every half
Re: Random value every X frames offset?
by Dan Ebberts 4 weeks ago
This might work better: period = 13.7; frames offset = 5; first beat relative to in point seed = Math.floor((timeToFrames(time-inPoint) - offset) period); seedRandom(seed,true); random(-50,50); Dan
2d position to sphere
by peter menich 12 years ago
Hi all, I'm doing a world map with country names using CC Sphere. The problem I'm having is that the most northern and southern countries names get distorted. I've got all the country names as separat
Re: 2d position to sphere
by Dan Ebberts 4 weeks ago
I think something like this will give you the z: x = position 0 ; y = position 1 ; r = 250; d = Math.min(Math.sqrt(x*x + y*y),r); a = Math.acos(d r); z = -r*Math.sin(a); Dan
Linking 4 Layers scale together
by Chris Meadmore 1 month ago
Hi, I need help with an if else expression on 4 layers. In this project file I've got 4 Headline comps, each containing text layers with auto scaling applied. I need to set up an array so they all mon
Re: Linking 4 Layers scale together
by Dan Ebberts 1 month ago
This is kind of hard to explain, but in general, you want to avoid situations where expressions form a feedback loop. For example, expression A uses the output of expression B and expression B uses th
Random change to specific color
by Bram Rusman 9 years ago
I have a grid of squares (layered). Now I want to change the color of the squares randomly. But it has to be a specific color. Like in the image. So it randomly changes to blue -light blue - green - b
Re: Random change to specific color
by Dan Ebberts 1 month ago
The expression needs to go on a color property (Fill color maybe ) and each property will need its own expression. Depending on how you have things set up, you might be able to save a lot of time by a
sourceRectAtTime() for shape layers?
by Jackie Kustan 1 month ago
Short version: is it not possible to get a pixel width from a shape layer using sourceRectAtTime I've been working on a script that, among other things, creates shape layers from imported illustrator
Re: sourceRectAtTime() for shape layers?
by Dan Ebberts 1 month ago
What do you get with sourceRectAtTime(1000,false) Dan
Animated text locked to a specific position
by Jo Causse 1 month ago
Hi all, I have been searching everywhere for a solution to what seems to be a simple problem but no luck so far. I have a multiple-lines block of text (over 500 lines) that I am simply animating by ha
Re: Animated text locked to a specific position
by Dan Ebberts 1 month ago
Ah, OK. You're using an opacity animator. For some reason I thought you were animating the text itself, but with the animator, the text itself never changes, so sourceRectAtTime() and counting the lin
Extendscript .getFiles function is undefined
by Wayne Grech 9 months ago
Scripting newbie here, I'm trying to figure out a way of creating an array and populating it with all the files within a user specified folder. This is what I got: var myFolder = Folder.selectDialog (
Re: Extendscript .getFiles function is undefined
by Dan Ebberts 9 months ago
That's the right function. Your code works fine for me--I'm not sure why it doesn't work for you. Maybe a permissions thing Do you have the preference set that allows scripting to access the network D
Following a path without changing position?
by Valentin Val 10 months ago
Hi dudes, A lot of thanks for the AE experts who will answering to me. It's a problem that I never read a solution on anywhere. So let me explain, I have a lot of objects going out an optical fiber. A
Re: Following a path without changing position?
by Dan Ebberts 10 months ago
Ah yes, I missed that. That makes it trickier. If it's really just the start position that needs to be maintained, that's an easy fix, like this: s = effect("Slider Control")("Slider").value; L = this
Start playback of clip in credits roll when clip comes on screen
by joel penner 11 months ago
Hi. I am making a credits roll in AE. In this roll there are a bunch of video clips that I'm arranging in a huge comp. I will then animate a scrolling effect in a 4k frame master comp. Is there any wa
Re: Start playback of clip in credits roll when clip comes on screen
by Dan Ebberts 10 months ago
The expression makes certain assumptions and will time out if at least part of the layer is visible in the comp, but there was never a time where it was completely below the comp. If that's a conditio
How to find the sum of the vectors inside a custom array?
by Crystal Goh 11 months ago
Hi all, I am pretty new to expressions and trying to do an expression that finds the total width from my image layers ( which all have different widths, number of image layers not fixed). My current i
Re: How to find the sum of the vectors inside a custom array?
by Dan Ebberts 11 months ago
I guess I'd do it like this: accum = 0; for (i = 3; i <= thisComp.numLayers; i++){ accum += thisComp.layer(i).sourceRectAtTime(time,false).width; } accum Dan
Animate object along animated path
by Robin Munshaw 11 months ago
Hi there, I've created a path that has vertices animated to follow an underlying map. The map is a slow zoom in on Google Earth looking at the ground at about 45 degrees, so each vertex of the path is
Re: Animate object along animated path
by Dan Ebberts 11 months ago
Assuming that you're using Trim Paths to set the end point of your path, an expression like this (for the position of your dot) should track an animated path: L = thisComp.layer("Shape Layer 1"); path
I Want To thank Dan Ebberts
by Julien Schickel 12 months ago
Hello everybody, I don't know If it is ok to post this on the forum, but I made this animation of the solar system: https: www.youtube.com watch v=UzbnPX8Stnc and I never would have been able if it wa
Re: I Want To thank Dan Ebberts
by Dan Ebberts 12 months ago
I just wanted to say thank you so much for the kind words, and what a nice piece of work you have created! Dan
Using the layer name within an expression
by Paul Connors 1 year ago
Hello. I'm testing some data-driven expressions using a .csv file as my source. I have some expressions in my comp that reference that data, but I'm trying to incorporate the layer name into the expre
Re: Using the layer name within an expression
by Dan Ebberts 1 year ago
For one thing, you let some curly quotes sneak into the end of the first and second lines... Dan
Toggle Hold value between keyframes?
by Ronan De Lacy 2 years ago
Hello all, I have a text layer, that's set up to pull data from a text file. I'm taking values from sliders on separate layers to each keyframe on the timeline. Everything is working, however, the val
+1
Dan Ebberts liked this 2 years ago
Re: Toggle Hold value between keyframes?
by Ronan De Lacy 2 years ago
Thanks so much, Dan. You're a life saver!!
test
by Dan Ebberts 3 years ago
<
ido shor 4 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 5 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 5 years ago
Controlling speed is tricky business. This might help: http: www.motionscript.com articles speed-control.html Dan
Fabio Apelbaum 5 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 5 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 5 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 5 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 5 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 5 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 5 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 5 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 5 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 5 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 5 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 6 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 6 years ago
theme - http: forums.creativecow.net readpost 227 27572
Dan Ebberts 6 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 6 years ago
Ok. Thank you. But I can give you translated materials
Dan Ebberts 6 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 6 years ago
Thanks again. I just save this material.
have I been a bad boy ?
by Bob Zelin 8 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 8 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 13 years ago

© 2020 CreativeCOW.net All Rights Reserved
[TOP]