Jump to content
Sign in to follow this  
JBoris

Transformation to random value every few seconds

Recommended Posts

Hi there!

I want to do a procedural animation where I randomly change the transformation every second or so. For example at frame 1 posX is 0, stands still and at frame 50 it moves to a random pos within 10 frames, pauses for 50 frames and moves to next random pos within 10 frames, pauses for 50 frames, moves to next random pos and so on. 

Unfortunately my knowledge of CHOPs is rather limited and I couldn't figure out how to do it with expressions based on @Time. 

Any ideas? 

Cheers, J.

Share this post


Link to post
Share on other sites
lerp(rand(int(@Frame/60)),rand(int(@Frame/60)+1),fit(@Frame%60,0,10,0,1))

this is not actually right, but maybe the method works.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×