Random Expression

Post here anything related to RealFlow that doesn't specifically belong in any of the forums below
Post Reply
Dhruba Jyoti
Posts: 9
Joined: Thu Sep 21, 2017 6:42 am

Random Expression

Post by Dhruba Jyoti » Wed Mar 07, 2018 6:18 pm

I am creating a simple random expression to control my wind strength and make it random. But the random expression evaluates every frame so in each frame I have a different value but what I want to is the random expression changes its value from say 2 to 5 in a frame range of say 7. So instead of evaluating every frame, I want to change its evaluation time. That way the curve will be much smoother and natural for the wind.
Can anyone here tell what expression do I need to use?
I am new to expressions so a little explanation will be good too.

Thomas Schlick
Posts: 178
Joined: Tue Aug 29, 2017 12:35 pm

Re: Random Expression

Post by Thomas Schlick » Fri Mar 09, 2018 8:38 am

Hmmm... Can't think of a way right now to achieve such a behaviour with expressions, but I have to take a closer look. Unfortunately, this won't happen before March 15. I'm very busy with other projects right now. In the meantime you may want to go through the introduction to expressions in our blog. Maybe you'll find some inspiration and insights there. It's a mini series with 3 parts:

http://blog.realflow.com/tips/expressions-part-1/

Post Reply