From the course: Learning Grasshopper

Unlock the full course today

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

How to control data flow with logic gates in Grasshopper

How to control data flow with logic gates in Grasshopper

From the course: Learning Grasshopper

Start my 1-month free trial

How to control data flow with logic gates in Grasshopper

- In this video, let's take a look at some Grasshopper Components that take advantage of Boolean Logic and those are called logical operators or Logic Gates. There are several different kinds of Logic Gates, and each one behaves a little bit differently, but in general, Logic Gates look at one or more Boolean values. So that is true or false values as inputs, and return one Boolean value, depending on the state of those inputs. We can find these under the maths menu in the component panel and the operator's sub menu. So all these down at the bottom that are labeled as gates. So, let's keep working off of our dispatch example, and just to recap here, we've got a number slider, and we're using an evaluate component, to test for whether that number is greater than five. Anytime, the number is greater than five, we'll use dispatch and Boolean Logic to draw a circle, anytime the slider is less than or equal to five, we'll…

Contents