|
| "Floating" Objects |
 |
Fri, 30 Nov 2007 09:37:57 -080 |
I am looking for help an expression that simulates an object (a grid of photos
in this case) floating in space (weightlessness).
I did a search at Creative Cow and found this thread:
<http://forums.creativecow.net/thread/227/7356#7364>
Dan mentions:
I'd start with something like:
wiggle(.05,200)
He then mentions:
You might also want to add something similar to the orientation property:
wiggle(.05,10)
I will admit right up front, until now, I've never messed with expressions, so
this is new to me.
I have created a sample of what I'm talking about here:
<http://bluegrassphotography.net/FloatyThings.mov>
I used the following expression on the orientation property:
wiggle(5,5,5)
I think I'm close, but I'm not sure which property to apply the the first
expression on, that Dan suggested using first: wiggle(.05,200).
Basically I want more of a "slowly floating" look. I have messed with
the numbers but I just can't seem to get a more mellow
"weightlessness" look. I'd also like to add the look of the images
floating to and away from the camera a little.
I apologize if this is the wrong place for this question.
|
| Post Reply
|
| Re: "Floating" Objects |
 |
Fri, 30 Nov 2007 12:20:50 -080 |
Here's the wiggle expression, as written when selected from the Expression
language menu (the little circular icon that shows up next to the expression):
wiggle(freq, amp, octaves = 1, amp_mult = .5, t = time)
The first parameter, freq is the frequency in wiggles per second. 5 wiggles per
second is pretty fast. Dan suggested .05, which is nice and slow. You'll want to
play with this number, but you definitely want to get it below 1 to start to get
a calm, drifting feel.
amp is the amplitude of the wiggles. Higher values mean the wiggles will be
bigger, producing a wider range of values.
octaves indicates the number of fractal scales involved in the wiggle. This is
basically a measure of complexity. An octave of 1 will give you one set of
random wiggles. 2 will give you that first set of wiggles, plus a smaller set of
wiggles added in. 5 gives you five ever-finer scales of wiggles all added
together. For your floating in space effect, reduce the octaves to 1 (which
might be the default -- I can't remember). If you are trying to simulate air
turbulence, 5 might be a good number.
amp_mult determines just how much smaller those subscales are. If you use only
one octave, this won't have any effect.
And t lets you shift the wiggle around in time. It defaults to the current
time.
So you probably only need the first two parameters (freq and amp), like Dan
suggested, but you can specify the octaves, if you like.
As far as which property to apply the expression to, which property do you want
to see wiggling onscreen? I'd think position would be most important, but you
might want a little bit of motion on the orientation. Just remember, the scales
for different properties might be completely different, so you'll want to tailor
the amplitude to the property.
|
| Post Reply
|
| Re: "Floating" Objects |
 |
Sat, 1 Dec 2007 13:59:43 -0800 |
Well explained, Aaron. That made sense event in the cavernous depths of my thick
skull.
|
| Post Reply
|
|
|
|
|
|
|
|
|
|