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

OneMinus Op

OneMinus

subtract a number from one



Edit Documentation

Full Name
  • Ops.Math.OneMinus
Visibility
  • Core Op - Official cables op
Author


 

Example Patch 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 In Editor

INPUT PORTS


Value (Number)

OUTPUT PORTS


Result (Number)

Usages of OneMinus

  • Examples
  • Public
  • My Patches
  • Ops