Help for random expression candle frequency and curve blinking

Hallo Everyone,

This is my first post, so i hope to get the right section!

I would need some help to set up an easy animation:

I have 2 images, a room with an envirornment light and the other one with just the pass of a candle soft light. i am using the merge node (plus) to get both images togheter and this is fine, but i applied the random expression to the mix value because i would like that the candle light decrease and increase the streght slowly.

The point is that the expression i used “random(0,1,frame,1)” is generating every frame a different resoult. If i set “frame/24” the animation is picking the resoult every 24 frame but the resoult is not a soft transition but a drastic change. What i would need is to generate an animation that change every 15 frame let’s say, piking values between 0 and 1, but smooth changing simply the frequency of it and using smooth or bezier points intead of linear interpolation.

I would really appreciate if someone could help me because i am getting mad about it!

Simple expression for blinking. Instead of using the mix parameter.
Documetation is here:

http://wdas.github.io/SeExpr/doxygen/userdoc.html#General_Math_Functions

1 Like

THANK YOU A LOT! This was exactly what i need! :slight_smile: