Lu Nelson
Forum Replies Created
-
Well, I looked at using some other curves and their inverses, which were easier to calculate, and it looks like the opposed curve that I had already found in my example above does the trick for what I need better than an inverse would, so I’ll call this one off…
Thanks for the views and thoughts though
LMN
Lu Nelson
Berlin, Germany
—
[MacProQ2.66, 8GB, Sys10.5.6, FCP 6.0.5, AE 9.0.2] -
Ah — I was just responding to your other post
Yeah I wish I could see how to do that; but if you look at the project you’ll see the data isn’t vector it’s scalar. These curves aren’t animation (spatial) curves they’re value curves, which I want to use for driving interpolations down the line.
The question is to determine the inverse function, where you’ve got y=f(x), and determine a new equation for y that gives the inverse function…unless I’m missing something obvious?
Lu Nelson
Berlin, Germany
—
[MacProQ2.66, 8GB, Sys10.5.6, FCP 6.0.5, AE 9.0.2] -
Yeah, I didn’t enter anything at all. Just the default expression.
I figured maybe AE just got scrambled somehow, as I had spent the morning sort of fiddling with various approaches to a problem; but I didn’t use “thisProperty” anywhere in what I had done earlier either.
Anyway, I quit and restart and kept working and it didn’t do it again, so who knows…
BTW Dan if you have a moment to check the project I just posted about finding the inverse curve (New Topic, above) I’d really appreciate some help…
LMN
Lu Nelson
Berlin, Germany
—
[MacProQ2.66, 8GB, Sys10.5.6, FCP 6.0.5, AE 9.0.2] -
Hmm…I’m guessing this also means I have to be careful of what order the arguments are given in, right?
— like with my e.g. of AE’s built in linear() function: if I give it only 3 arguments it assumes that the ones I am giving are what would have been values 1, 4, and 5 respectively, if it was called with 5 arguments;
so perhaps in defining the function one should just list the arguments like a1, a2, a3, etc. and then reassign them to internal variables before calculating…does that sound right?I’ll try all this out tomorrow, today I’ve just been thinking it through on paper
Thanks for your replies Dan
Lu Nelson
Berlin, Germany
—
[MacProQ2.66, 8GB, Sys10.5.6, FCP 6.0.5, AE 9.0.2] -
Thanks Dan,
That was fast — I must have posted at the right time of day;)
So if I understand correctly, that means if I wanted to define a function that could accept for example 3 or 5 arguments, I could implement a switch() based on whether (arguments.length==3) for example?
Best,
LMN
Lu Nelson
Berlin, Germany
—
[MacProQ2.66, 8GB, Sys10.5.6, FCP 6.0.5, AE 9.0.2] -
Wow, thanks Paul for the detailed explanation! I thought about your first post for a while, and old Pythagoras, and worked out a technique; but it was helpful to read how you did it too. There’s something addictive about working out these little solutions….;)
Lu Nelson
Berlin, Germany -
Hey Paul,
I realize your post is from a year ago; but I’m trying to do something similar. Could you repost the comp you did somewhere? I assume the line you created in Illustrator has to be of a specific size, like 100 px long or something like that, so you can calculate the math correctly no?
Thanks,
LMN
Lu Nelson
Berlin, Germany -
Thanks for that; here’s the link:
https://aenhancers.com/viewtopic.php?f=8&t=515&hilit=presets+xmlLu Nelson
Berlin, Germany -
Lu Nelson
January 28, 2009 at 10:38 am in reply to: Anyone know of a fully keyframeable text generator?Thanks for both of those responses. I found Todd Kopriva’s “Region of Interest” blog and the post on CS4’s new scripting additions, I’ll start there:
https://blogs.adobe.com/toddkopriva/2008/12/after_effects_cs4_scripting_ch.html
Lu Nelson
Berlin, Germany -
Some of it is outlined here:
https://blogs.adobe.com/toddkopriva/2008/12/after_effects_cs4_scripting_ch.html
Lu Nelson
Berlin, Germany