Blend:

The "blend" operator takes a weighted average of two variables. If we normalize our weight from a number between -1 and 1 to a number between 0 and 1, (new_weight = (old_weight + 1) / 2,) then we can blend two variables, x and y, together like so: result = x * (1 - w) + y * w. This is also isomorphic with linear interpolation.

First variable:

Value:

Second variable:

Value:

Weight:

Value:

Blend Result:

Nudge:

The "nudge" operator blends a variable with +1 if the weight > 0, blends it with -1 if the weight < 0, and leaves it be if the weight = 0. Result = x * (1 - absolute_value_of(delta)) + delta.

Variable:

Value:

Change (a.k.a. "weight" / "delta"):

Value:

Blend Result: