Instant Terra Forum

Instant Terra => Feature requests => Topic started by: Flint Stryker on December 28, 2020, 08:43:53 PM

Title: RAND function in Formula node
Post by: Flint Stryker on December 28, 2020, 08:43:53 PM
The limitation of the Parameter node configured as a RNG is that I can't get multiple random numbers from it. I need to be able to get several random numbers from a single seed. Even better would be a Random calculation node that can give a random number between two values, but I would be happy with a simple RAND function in the Formula node. A RAND Formula nodes would give me all the random values I need.
Title: Re: RAND function in Formula node
Post by: Alexis Vaisse on December 29, 2020, 02:01:59 PM
Hi,

Thanks a lot for the suggestion.
We'll add a RAND function for the Formula node in the next release of Instant Terra.

Also note that's it's possible to generate random numbers by using a Python node: create a new custom node of type 'Python', edit the graph of the node, set one value output node named Output and use a script such as:

from random import random
Output=random()