beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

OneMinus Op

Ops.Math.OneMinus


OneMinus
Namespace: Ops.Math

Op author: pandur

subtract a number from one


summary (oneliner)



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

Value (Number)

Outputs

Result (Number)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

Sidebar Color-Picker / OneMinus Example

Shows how to use the sidebar Ops.Sidebar.ColorPicker op to control the patch background color. The color components (red / green / blue) are then inverted (with the Ops.Math.OneMinus op) to create the complementary color, which is used as the fill color of the circle.

Open Example In Editor


Patches using OneMinus