Jump to content
Hash, Inc. Forums
Sign in to follow this  
serg2

How to use a random expression to get smoother and less dense graphics? sharp curves and smoothed

Recommended Posts

Part of the answer may be to use the time function to sample to random numbers only at larger intervals, like every 30 frames

Share this post


Link to post
Share on other sites

It could be working with something like this "Round(Rand() / 10) * 100", if I am not wrong. Like that it would toggle more or less between two values with a more steady value.

I did not test it, but Round should be a good starting point.

 

Best regards

*Fuchur*

Share this post


Link to post
Share on other sites

Good. Tank you.

 

How to choose ONE random time(instant/moment) in a certain time range?

 

How to switch values at random time? And fix it

Share this post


Link to post
Share on other sites

Thank you very much, Robert!

 

Years of torture with a random expression completed ))

 

Funny)) - I randomized the time with the same parameter - and it works!

 

AtFrame(Round(GetFrame(),R1),R2)

 

R = R1 = R2 = ..|..|..|..|Shortcut to Model1.Transform.Translate.Y

(random change channel)

R1 - random time

R2 - random amplitude

 

Example:

AtFrame(Round(GetFrame(),..|..|..|..|Shortcut to Model1.Transform.Translate.Y),..|..|..|..|Shortcut to Model1.Transform.Translate.Y)

 

But of course I would like more flexible use of random expression in real time (without pre-baking).

 

Thanks all!

Share this post


Link to post
Share on other sites

R - In this case, this parameter R represents the channel of random changes

 

An example is given below:

 

AtFrame(Round(GetFrame(),R1),R2)

R = R1 = R2 = ..|..|..|..|Shortcut to Model1.Transform.Translate.Y (random change channel)

R1 - random time

R2 - random amplitude

PRJ file:

http://dropmefiles.com/uFaSe

Share this post


Link to post
Share on other sites

Fantastic!

And very clever.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...