Mike Clasby
Forum Replies Created
-
When you say “expression presets” do you mean the Expression language menu?
-
OK, after a quick test, moldyboot’s suggestion about using PhotoShop is definitely better.
In PhotoShop I did, File>New and made it 30,000 pixels wide and 50 pixels high.
After putting the Text Tool at the left side, I pasted in over 3000 characters to fill the image, all one line. That imported into AE just fine.Then just set position keyframes or use one of the expressions I listed above.
You gotta love PhotoShop.
-
I think the easiest way to setup scrolling is to add the text to AE with a script.
Here is a nifty script to put a text file (must be .txt) into AE.
https://www.crgreen.com/aescripts/
The only restrictions are is that it must be a text file (.txt) and that limits how many characters you can have (1,024) in a single line. IF you have more than a single line of text, they’ll stack up, like a paragraph. So take what you want to scroll horizontally, put it in Notepad (PC) and make it one line, up to 1024 character. Then name it, and open it when the Script runs.
The script is halfway down the page and named “crg_Text_from_File.jsx “. Download it and add the .jsx to your AE Scripts folder, then start AE and File>Run Script> choose “crg_Text_from_File.jsx “. You’ll get a dialog box, check the “One Layer” at the top of the Panel. So you end up with 1,024 characters in a single layers, all one line.
Now set Position keyframes and you have your scroll.
Below are two expressions for horizontal scrolling. Add them to position (Copy the expression, Alt-click the Position stopwatch, Paste).
Here’s a modified Dan Ebberts expression on Position, it assumes the text starts at time zero:
ppf = 1.4; //scroll rate pixels per frame
currentFrame = timeToFrames();
value – [currentFrame*ppf,0]Here’s a modified from a vertical scroll expression by Jonas Hummelstrand, also on position. It can be used anywhere, the scrolling starts at the text layers inpoint.
intPixelsPerSecond = 144;
x = position[0]-((time-inPoint)*intPixelsPerSecond);
[x, position[1]];From here:
https://www.aenhancers.com/viewtopic.php?t=457
-
Preset away!!!
I meant for you to type something like:
“owiseo at aol dot com”
so any Bots prowling the web wouldn’t pickup your address, but maybe I watched Terminator a few tot many times.
Enjoy.
-
OK, I think I remember now.
In the Project Window, select the footage being warped (in the comp below), Right Click, Interpret Footage>Main, and then change Other Options>Loops to 2 (near bottom of panel).
Now, in the timeline, you can drag the right end of the footage out to the length needed.
No?
There’s framerate stuff in that anel too.
I know I need to upgrade, myBad.
-
I’m working on a webpage for downloads (a shaky thing for me will take a few days), but can email the preset if you type you email out, like: me at yahoo dot com.
I’ll get on that download capability, ASAP.
Places like Putfile don’t like AE preset (.ffx) files.
-
Dan is being shy, again. For an in-depth look at how it works and a demo, checkout this:
https://www.motionscript.com/design-guide/auto-orient-y-only.html
-
I think you need to precompose the clip, open that comp, make it twice as long duration-wise as the clip, so the clip has room to expand wen you apply time warp in the main comp. It’s been awhile since i demoed an AE version with time warp, but it was something along those lines.
-
1) Rotation Correction
Dave’s solution should work.
Put the anchor point of the arrow back to the center of the arrow, parent the arrow to the Null, and then add this expression to the arrow’s rotation (Copy the expression, Alt-click the rotation stopwatch, Paste):
– thisComp.layer(“Null 1”).rotation
It works fine rotating the Null in either direction.
2) To get circular placement of any number of layers
If you want to place the arrows around a circle, add this expression to the arrows position:
NumberAroundCircle = 5;
radius = 180;
center = this_comp.layer(“Null 1”).anchorPoint;
interval=360/NumberAroundCircle;
angle=degrees_to_radians((index-1)*interval);
x=radius*Math.cos(angle);
y=radius*Math.sin(angle);
add(center, [x, y]);Change the “NumberAroundCircle” in line 1 to how ever many items you want to be evenly spread around the circle.
Change the “radius” in line 2 for the size of the circle.
Change the name of the Null in line 3, to the name of your Null, like to “Null 2” if you Null has a different name than “Null 1”.3) To rotate all
Parent the arrows to the Null (select all the arrows, Parent Pickwhip one of them to the Null).
The Null needs to be above or below the arrows, nothing in-between the arrows.You still need that rotation expression on each arrow:
– thisComp.layer(“Null 1”).rotation
Rotate the Null and the arrows rotate will maintain their original orientation, they keep pointing in the same direction.
Move the Null (position) and the arrows move accordingly.You can mass add an expression to multiple layers by putting the expression on one layer, selecting the expression the Edit>Copy Expression Only, then select as many layers as you the expression added to, and Paste. You can do both expressions at once this way also.
Or you can make a preset for this by selecting the position and rotation expression for one arrow, then Animation>Save Animation Preset, name it. Then select all layers, Animation>Apply Animation Preset (but first you need to add that Null or the expressions will break).
The Position expression is a modified version of jjgifford’s from here:
https://www.jjgifford.com/expressions/reference/index.html
-
1) Dan has a quick stutter expression here that has variables for start and end (when to stutter):
https://www.motionscript.com/expressions-lab-ae65/stutter-frames.html
2) But I really like this:
https://www.aenhancers.com/viewtopic.php?t=163
It used music to drive a stutter to the sound. See demo clips. Try different music for different movements. Turn off the little speaker if you don’t want the audience to see what a cool dancer your monster is.
This excerpt from “araknia” , page 2 of link above) was the best explanation on how to set it up if you don’t use the preset:
here’s some tips on getting this to work-
This expression goes on time remapping (Copy the expression, Alt-Click the Time Remapping Stopwatch and Paste)
To recapitulate the useful help put on this thread already:
1. Add music to comp first,
2. Select Menu ‘Animation’ – apply the Keyframe Assist – Convert audio to keyframes.
3. Add your videoclip to comp, disable its audio track, or you will hear strange clicks on final render.
4. Select the video layer in the comp, then select the menu ‘Effects’ – Expression Controls – Slider control ; you can set the effects layer name by hitting the enter key, if you are new to AE this should help. Rename the first Slider Control to frequence max.
5. Repeat step 4, naming the next Slider to ‘frequence min’
6. Do step 4 again, name slider ‘frames’.
7. Observe the “Audio Amplitude” keyframes layer created from your music track layer. you can expand the effects sub-levels to see the slider level called “Both Channels” . You can see a graph which corresponds to the audio of the music layer waveform.
8. Set the ‘frequence max’ effect slider you added to your video track to the peak value you observed in step 7, on my audio this was ~55.0 , then set frequence min to about 40.0 this gives enough animation effect for my liking. I set frames slider to -3.0.
9. Enable Time Remapping for the video layer (Layer>Enable Time remapping). This expression goes on time remapping (Copy the expression, Alt-Click the Time Remapping Stopwatch and Paste):t=timeToFrames(inPoint);i=0;
while(timeToFrames()>=t)
{
min=effect(“frequence min”)(1).valueAtTime(framesToTime(t));
max=effect(“frequence max”)(1).valueAtTime(framesToTime(t));
a=effect(“frames”)(1).valueAtTime(framesToTime(t));
f=thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(1).valueAtTime(framesToTime(t));
if(f>=min && f<=max){i+=1-a} t++; } timeRemap.valueAtTime(time-framesToTime(i)) ------------------ I made a preset from this if you're interested, ask.