From the course: Learning Grasshopper

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

How to generate random and Fibonacci sequences in Grasshopper

How to generate random and Fibonacci sequences in Grasshopper

From the course: Learning Grasshopper

Start my 1-month free trial

How to generate random and Fibonacci sequences in Grasshopper

- [Instructor] In this video, we'll cover two special sequence components in Grasshopper, random and Fibonacci. You can find these both, under the sets component tab, in the sequence sub category. Random generates numbers within a domain. So between a high and low . Random takes three inputs. The range, which gives us the low and high boundaries, it takes a number, that is the total quantity of random numbers to generate and it also takes a seed. Most random number generators in software, aren't 100% random, at least not in a mathematical sense. So, the random component needs a seed value to get started. This is actually a big advantage, since the values will always be the same for a given seed. If I find some values that I really like, I can just note the seed value and get those every single time. On the other hand, if I wanted a random sequence with lots of variations, I could plug in something that would be…

Contents