PDA

View Full Version : Noisey sine wave


liltbrockie
07-23-2008, 03:49 AM
Hi .. i'm doing some tests with animation and movement...

I can apply a sine expression to an object like this

Sine (1,0.5,0)

and it will give me a nice smooth sine wave motion thats fine...

But what if i wanted to introduce some noise and variation into the wave how do i do this?

I want the sine wave to still be smooth but with some random spikes in it

SebasProulx
07-23-2008, 09:54 AM
Maybe, you could add a random value:

sinus( 1 , 0.5 , 0 ) + ( rand_0_1(666) * 0.2 )

Is that what you want?

misterdi
07-23-2008, 11:48 AM
you could always add a noise function to your basic sine wave.
noise(<x>, <y>, <z>)
for example you could use:

your sine expression + noise(0, 0, Fc*0.5)