Python has a random module that allows you to get the following values
a = round(random.uniform(min, max), 4) - float number in the given range with rounding
b = random.random() - float number in range 0-1
Is it possible to implement these functions in OSL? I tried different ways with rand() or random value() but the output is error message.
Thank you!