Here is a patch that checks if a number is between 0.4
and 0.7
. Let’s make it reusable by converting into a node that takes three numbers and outputs a boolean. The first number is the one we want to check and the other two are boundaries instead of the hard-coded 0.4
and 0.7
.
⚠️ Before you proceed, remember the location of this chapter in the Project Browser to come back after you complete the instructions. Keeping the track might be easier if you open this part of the tutorial in a web-browser.
less
, greater
, and nor
nodes and copy them to the clipboard.between
is a nice one).For the rest of this part of the tutorial we’ll evolve the node chapter after the chapter and effectively create many versions of it with incremental improvements. We recommend to mirror the improvements to the sole patch you created just now.