OneMinus Op

OneMinus

subtract a number from one



Full Name
  • Ops.Math.OneMinus
Visibility
  • Core Op - Official cables op
License
  • MIT
Authorgithub


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)

Patches using OneMinus

  • Examples
  • Public
  • My Patches