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

ColorPicker_v3 Op



ColorPicker
Namespace: Ops.Sidebar

Op author: pandur

Uses library: colorRick (colorpicker without bullshit)

Shows a color-picker in the sidebar




Inputs

Link (Object)

Either a link to the sidebar or sidebar group

Text (String)

The label text

Input Red (Number)
Input Green (Number)
Input Blue (Number)
Set Default (Trigger)

Outputs

Children (Object)

Here you can connect other sidebar ops

Red (Number)

The red amount from the color picker, in range [0..1]

Green (Number)

The green amount from the color picker, in range [0..1]

Blue (Number)

The blue amount from the color picker, in range [0..1]

Hex (String)

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

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.


Patches using ColorPicker_v3

  • Examples (5)
  • Public
  • My Patches

Changelog


cloned op from Ops.Sidebar.ColorPicker_v2
2021-08-19 - pandur
added lib: colorrick.js
2021-08-19 - pandur
Ops.User.pandur.ColorPicker2 renamed to Ops.Sidebar.ColorPicker_v3
2021-08-19 - pandur
react properly to disconnecting parent
2022-02-03 - stephan