From the course: Dynamo 2.x Essential Training

Unlock the full course today

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

Performing math functions

Performing math functions

From the course: Dynamo 2.x Essential Training

Start my 1-month free trial

Performing math functions

- [Instructor] Let's take a look at what kinds of things Dynamo can do when we combine number inputs with nodes that perform functions on numbers. Let's begin begin in the math, operators section of the node library. Here you can see we have a series of mathematical operators, or functions like addition, subtraction, multiplication and division, we can test whether one number is less than another, test whether two numbers are equal, or if one number is greater than the other. Let's begin with something simple, like addition. I'll go back up to the addition node, and I'll click once to drop an addition node into our workspace. This particular node takes an x and a y input, two inputs in total. So I'm going to navigate to the input basic portion of the node library, and drop in two number data inputs. I'm also going to want to drop in a watch node, in order to see the data coming out of the addition node. We can find that under display, watch, in the node library. I'm going to go ahead…

Contents