ColorPicker_v3 Op

ColorPicker

Shows a color-picker in the sidebar



Full Name
  • Ops.Sidebar.ColorPicker_v3
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest PatchesJavascript Libraries


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


Link (Object)

<p>Either a link to the sidebar or sidebar group</p>

Text (String)

<p>The label text</p>

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

OUTPUT PORTS


Children (Object)

<p>Here you can connect other sidebar ops</p>

Red (Number)

<p>The red amount from the color picker, in range <code>[0..1]</code></p>

Green (Number)

<p>The green amount from the color picker, in range <code>[0..1]</code></p>

Blue (Number)

<p>The blue amount from the color picker, in range <code>[0..1]</code></p>

Hex (String)

Patches using ColorPicker_v3

  • Examples
  • Public
  • My Patches

Changelog


cloned op from Ops.Sidebar.ColorPicker_v2user avatarpandur - 2021-08-19 11:25
added lib: colorrick.jsuser avatarpandur - 2021-08-19 11:26
Ops.User.pandur.ColorPicker2 renamed to Ops.Sidebar.ColorPicker_v3user avatarpandur - 2021-08-19 11:42
react properly to disconnecting parentuser avatarstephan - 2022-02-03 12:34