algorithmic modeling for Rhino
I was trying to generate a list of random numbers containing both negative and positive numbers. The Range is -25 to 25, Number is 10 for example.
The result I get is either a list of positive number or a list of negative number, depending on whether the seed is even or odd.
Is there a way I can generate list of mixture of radioman positive and negative numbers?
Thanks!
Tags:
generate a list of random numbers 0-50, then subtract 25
Sorry. My bad. Totally bad description of the problem.
I actually have a list of Ranges/Domain. From each of the range, I want to randomly generate a number.
The result contain either all positive number or negative number depends on the whether the seed is even or odd.
Appreciated if you can help me take look.
what ^ said.
Alternatively, as you only use one number per range, you could generate more numbers with just the one seed, then just remap it on to the ranges.
Thanks.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by