A sketchy implementation of cubehelix color scheme algorithm for Max/MSP/Jitter
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

2041 lines
51 KiB

{
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 8,
"minor" : 5,
"revision" : 6,
"architecture" : "x64",
"modernui" : 1
}
,
"classnamespace" : "box",
"rect" : [ 1127.0, 227.0, 751.0, 558.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 1,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 1,
"objectsnaponopen" : 1,
"statusbarvisible" : 2,
"toolbarvisible" : 1,
"lefttoolbarpinned" : 0,
"toptoolbarpinned" : 0,
"righttoolbarpinned" : 0,
"bottomtoolbarpinned" : 0,
"toolbars_unpinned_last_save" : 0,
"tallnewobj" : 0,
"boxanimatetime" : 200,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"description" : "",
"digest" : "",
"tags" : "",
"style" : "",
"subpatcher_template" : "",
"showontab" : 1,
"assistshowspatchername" : 0,
"boxes" : [ {
"box" : {
"id" : "obj-41",
"maxclass" : "textbutton",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "", "", "int" ],
"parameter_enable" : 0,
"patching_rect" : [ 509.5, 165.0, 124.0, 25.0 ],
"text" : "Read the publication",
"texton" : "",
"truncate" : 0
}
}
, {
"box" : {
"id" : "obj-40",
"linecount" : 4,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 404.0, 106.0, 335.0, 62.0 ],
"text" : "Cubehelix is originally described in this publication:\nGreen, D. A., 2011, ‘A colour scheme for the display of astronomical intensity images’, Bulletin of the Astronomical Society of India, 39, 289. (2011BASI...39..289G at ADS.) ",
"textcolor" : [ 0.32548999786377, 0.345097988843918, 0.372548997402191, 1.0 ],
"textjustification" : 1
}
}
, {
"box" : {
"id" : "obj-37",
"linecount" : 4,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 455.0, 218.0, 280.0, 62.0 ],
"text" : "When set to 1 (default), the change of any color attribute (color_start, color_end, start, rotation, saturation, gamma, flip) automatically triggers an output. Otherwise, a bang is need.",
"textcolor" : [ 0.32548999786377, 0.345097988843918, 0.372548997402191, 1.0 ]
}
}
, {
"box" : {
"id" : "obj-34",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 404.0, 253.0, 49.0, 22.0 ],
"text" : "auto $1"
}
}
, {
"box" : {
"id" : "obj-31",
"maxclass" : "toggle",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"parameter_enable" : 0,
"patching_rect" : [ 404.0, 218.0, 24.0, 24.0 ]
}
}
, {
"box" : {
"id" : "obj-29",
"linecount" : 2,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 404.0, 292.0, 331.0, 34.0 ],
"text" : "The two attributes below only affect leftmost (outputs matrices) and rightmost (outputs lists) outlets.",
"textcolor" : [ 0.32548999786377, 0.345097988843918, 0.372548997402191, 1.0 ]
}
}
, {
"box" : {
"id" : "obj-20",
"linecount" : 2,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 182.0, 439.0, 147.0, 34.0 ],
"text" : "2nd outlet always outputs the raw ARGB matrix ",
"textcolor" : [ 0.32548999786377, 0.345097988843918, 0.372548997402191, 1.0 ]
}
}
, {
"box" : {
"id" : "obj-7",
"maxclass" : "jit.pwindow",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 70.0, 445.0, 110.0, 22.0 ],
"sync" : 1
}
}
, {
"box" : {
"id" : "obj-25",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 69.0, 245.0, 149.0, 22.0 ],
"text" : "color_end rgb $1 $2 $3 $4"
}
}
, {
"box" : {
"id" : "obj-23",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "jit_matrix" ],
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 8,
"minor" : 5,
"revision" : 6,
"architecture" : "x64",
"modernui" : 1
}
,
"classnamespace" : "box",
"rect" : [ 59.0, 107.0, 640.0, 480.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 1,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 1,
"objectsnaponopen" : 1,
"statusbarvisible" : 2,
"toolbarvisible" : 1,
"lefttoolbarpinned" : 0,
"toptoolbarpinned" : 0,
"righttoolbarpinned" : 0,
"bottomtoolbarpinned" : 0,
"toolbars_unpinned_last_save" : 0,
"tallnewobj" : 0,
"boxanimatetime" : 200,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"description" : "",
"digest" : "",
"tags" : "",
"style" : "",
"subpatcher_template" : "",
"assistshowspatchername" : 0,
"boxes" : [ {
"box" : {
"id" : "obj-43",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 86.0, 126.0, 181.0, 22.0 ],
"presentation" : 1,
"presentation_rect" : [ 166.0, 354.0, 181.0, 22.0 ],
"text" : "setcell 0 0 val $1 $2 $3 $4, bang"
}
}
, {
"box" : {
"id" : "obj-37",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 50.0, 100.0, 55.0, 22.0 ],
"presentation" : 1,
"presentation_rect" : [ 130.0, 328.0, 55.0, 22.0 ],
"text" : "zl.slice 2"
}
}
, {
"box" : {
"id" : "obj-36",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 86.0, 154.0, 113.0, 22.0 ],
"presentation" : 1,
"presentation_rect" : [ 166.0, 382.0, 113.0, 22.0 ],
"text" : "jit.matrix 4 float32 1"
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-20",
"index" : 1,
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ]
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-21",
"index" : 1,
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 86.0, 236.0, 30.0, 30.0 ]
}
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-37", 0 ],
"source" : [ "obj-20", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-21", 0 ],
"source" : [ "obj-36", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-43", 0 ],
"source" : [ "obj-37", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-36", 0 ],
"source" : [ "obj-43", 0 ]
}
}
]
}
,
"patching_rect" : [ 125.0, 381.0, 61.0, 22.0 ],
"saved_object_attributes" : {
"description" : "",
"digest" : "",
"globalpatchername" : "",
"tags" : ""
}
,
"text" : "p getcolor"
}
}
, {
"box" : {
"bubble" : 1,
"id" : "obj-19",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 41.0, 101.0, 161.0, 24.0 ],
"text" : "Bang to output the matrix"
}
}
, {
"box" : {
"id" : "obj-15",
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 15.0, 101.0, 24.0, 24.0 ]
}
}
, {
"box" : {
"hidden" : 1,
"id" : "obj-10",
"maxclass" : "newobj",
"numinlets" : 0,
"numoutlets" : 0,
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 8,
"minor" : 5,
"revision" : 6,
"architecture" : "x64",
"modernui" : 1
}
,
"classnamespace" : "box",
"rect" : [ 0.0, 26.0, 751.0, 532.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 1,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 1,
"objectsnaponopen" : 1,
"statusbarvisible" : 2,
"toolbarvisible" : 1,
"lefttoolbarpinned" : 0,
"toptoolbarpinned" : 0,
"righttoolbarpinned" : 0,
"bottomtoolbarpinned" : 0,
"toolbars_unpinned_last_save" : 0,
"tallnewobj" : 0,
"boxanimatetime" : 200,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"description" : "",
"digest" : "",
"tags" : "",
"style" : "",
"subpatcher_template" : "",
"showontab" : 1,
"assistshowspatchername" : 0,
"title" : "History",
"boxes" : [ {
"box" : {
"id" : "obj-10",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 12.0, 330.0, 54.0, 22.0 ],
"text" : "deferlow"
}
}
, {
"box" : {
"id" : "obj-6",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 12.0, 300.0, 58.0, 22.0 ],
"text" : "loadbang"
}
}
, {
"box" : {
"format" : 6,
"id" : "obj-8",
"maxclass" : "flonum",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 169.300000000000011, 136.0, 67.0, 22.0 ]
}
}
, {
"box" : {
"id" : "obj-9",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 169.300000000000011, 109.0, 113.0, 22.0 ],
"text" : "loadmess 0.888889"
}
}
, {
"box" : {
"format" : 6,
"id" : "obj-7",
"maxclass" : "flonum",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 166.0, 244.0, 67.0, 22.0 ]
}
}
, {
"box" : {
"id" : "obj-3",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 166.0, 217.0, 117.0, 22.0 ],
"text" : "loadmess -0.666666"
}
}
, {
"box" : {
"id" : "obj-12",
"linecount" : 4,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 290.0, 324.0, 427.0, 62.0 ],
"text" : "The 'reset' message resets jit.cubehelix with the attributes typed by the user in the object box. If no custom value is provided for an attribute, it resets to its default value. jit.cubehelix overall default values are meant to outputs the classic cubehelix color scheme.",
"textcolor" : [ 0.32548999786377, 0.345097988843918, 0.372548997402191, 1.0 ]
}
}
, {
"box" : {
"id" : "obj-5",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 217.400000000000034, 324.0, 69.0, 22.0 ],
"text" : "reset, bang"
}
}
, {
"box" : {
"id" : "obj-37",
"linecount" : 14,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 328.0, 118.0, 391.0, 200.0 ],
"text" : "In the original cubehelix paper, hue starts from blue and is modulo 3, so blue = 0 = 3, red = 1 and green = 2.\n\nIn Max, hue values usually start from red and cover the whole wheel between 0. and 1, and I've made jit.cubehelix to work this way.\n\nThis Implies: to work with start values taken from legacy Cubehelix examples, you need to apply the following formula:\nnew_hue = (old_hue-1)/3\n\nThis way, the original cubehelix example (start of 0.5 and -1.5 rotations) translates here with a start hue of -1/6 ≈ -0.166667 and a end hue of -1/6 - 1.5 ≈ -1.666667, or, when shifted by 1: 5/6 ≈ 0.888888 and -2/3 ≈ -0.666666.",
"textcolor" : [ 0.32548999786377, 0.345097988843918, 0.372548997402191, 1.0 ]
}
}
, {
"box" : {
"id" : "obj-93",
"maxclass" : "jit.pwindow",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 12.0, 474.0, 720.0, 50.0 ],
"sync" : 1
}
}
, {
"box" : {
"id" : "obj-1",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "jit_matrix", "jit_matrix", "" ],
"patching_rect" : [ 12.0, 359.0, 244.0, 22.0 ],
"text" : "jit.cubehelix @dim 100 @coloroutputmode 1"
}
}
, {
"box" : {
"bubble" : 1,
"bubbleside" : 3,
"id" : "obj-32",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 17.0, 243.0, 147.0, 24.0 ],
"text" : "Change end color hue"
}
}
, {
"box" : {
"bubble" : 1,
"bubbleside" : 3,
"id" : "obj-31",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 17.0, 135.0, 147.0, 24.0 ],
"text" : "Change start color hue"
}
}
, {
"box" : {
"id" : "obj-29",
"maxclass" : "newobj",
"numinlets" : 6,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 108.399999999999977, 280.0, 163.0, 22.0 ],
"text" : "pak color_end hsl 0. 0.5 1. 1."
}
}
, {
"box" : {
"id" : "obj-22",
"maxclass" : "newobj",
"numinlets" : 6,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 110.5, 172.0, 166.0, 22.0 ],
"text" : "pak color_start hsl 0. 0.5 0. 1."
}
}
, {
"box" : {
"fontface" : 0,
"fontname" : "Arial",
"fontsize" : 40.0,
"id" : "obj-45",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 15.0, 0.0, 367.0, 52.0 ],
"text" : "jit.cubehelix",
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
}
}
, {
"box" : {
"id" : "obj-15",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 5,
"outlettype" : [ "jit_matrix", "jit_matrix", "jit_matrix", "jit_matrix", "" ],
"patching_rect" : [ 12.0, 400.0, 69.0, 22.0 ],
"text" : "jit.unpack 4"
}
}
, {
"box" : {
"bubble" : 1,
"bubbleside" : 2,
"id" : "obj-14",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 300.0, 390.0, 168.0, 39.0 ],
"text" : "Shows only lightness channel"
}
}
, {
"box" : {
"id" : "obj-2",
"maxclass" : "jit.pwindow",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 12.0, 433.0, 720.0, 30.0 ],
"sync" : 1
}
}
, {
"box" : {
"id" : "obj-88",
"linecount" : 3,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 15.0, 53.0, 702.0, 48.0 ],
"text" : "Historically, cubehelix was created to improve readability of images in astronomy. Color palettes created with cubehlix monotonally increases in brightness, so the perceived intensy of colors linearly grows, even if the created image is printed in black and white. Readability is also increased to colorblind eyes.",
"textcolor" : [ 0.32548999786377, 0.345097988843918, 0.372548997402191, 1.0 ]
}
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-15", 0 ],
"source" : [ "obj-1", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-93", 0 ],
"source" : [ "obj-1", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-10", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"source" : [ "obj-15", 3 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-22", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-29", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-7", 0 ],
"source" : [ "obj-3", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-5", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-10", 0 ],
"source" : [ "obj-6", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-29", 2 ],
"source" : [ "obj-7", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-22", 2 ],
"source" : [ "obj-8", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-8", 0 ],
"source" : [ "obj-9", 0 ]
}
}
]
}
,
"patching_rect" : [ 547.0, 4.0, 54.0, 22.0 ],
"saved_object_attributes" : {
"description" : "",
"digest" : "",
"globalpatchername" : "",
"tags" : ""
}
,
"text" : "p history"
}
}
, {
"box" : {
"bubble" : 1,
"id" : "obj-5",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 237.0, 269.5, 163.0, 24.0 ],
"text" : "Get a single color as a list"
}
}
, {
"box" : {
"hidden" : 1,
"id" : "obj-53",
"maxclass" : "newobj",
"numinlets" : 0,
"numoutlets" : 0,
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 8,
"minor" : 5,
"revision" : 6,
"architecture" : "x64",
"modernui" : 1
}
,
"classnamespace" : "box",
"rect" : [ 0.0, 26.0, 751.0, 532.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 1,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 1,
"objectsnaponopen" : 1,
"statusbarvisible" : 2,
"toolbarvisible" : 1,
"lefttoolbarpinned" : 0,
"toptoolbarpinned" : 0,
"righttoolbarpinned" : 0,
"bottomtoolbarpinned" : 0,
"toolbars_unpinned_last_save" : 0,
"tallnewobj" : 0,
"boxanimatetime" : 200,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"description" : "",
"digest" : "",
"tags" : "",
"style" : "",
"subpatcher_template" : "",
"showontab" : 1,
"assistshowspatchername" : 0,
"title" : "Classic use",
"boxes" : [ {
"box" : {
"format" : 6,
"id" : "obj-24",
"maxclass" : "flonum",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 464.499999999999943, 265.0, 50.0, 22.0 ]
}
}
, {
"box" : {
"format" : 6,
"id" : "obj-23",
"maxclass" : "flonum",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 314.899999999999977, 265.0, 50.0, 22.0 ]
}
}
, {
"box" : {
"format" : 6,
"id" : "obj-22",
"maxclass" : "flonum",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 165.300000000000011, 265.0, 50.0, 22.0 ]
}
}
, {
"box" : {
"format" : 6,
"id" : "obj-14",
"maxclass" : "flonum",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 15.0, 265.0, 50.0, 22.0 ]
}
}
, {
"box" : {
"id" : "obj-16",
"linecount" : 3,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 15.0, 53.0, 644.0, 48.0 ],
"text" : "jit.cubehlix is based on the D3 implementation made by @mbostock allowing to set custom ranges for hue, saturation and brighness, while the original cubehlix only allows custom hue start and end points, with uniform saturation an brightness from 0 to 1.",
"textcolor" : [ 0.32548999786377, 0.345097988843918, 0.372548997402191, 1.0 ]
}
}
, {
"box" : {
"id" : "obj-2",
"maxclass" : "jit.pwindow",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 15.0, 480.0, 720.0, 50.0 ],
"sync" : 1
}
}
, {
"box" : {
"fontface" : 0,
"fontname" : "Arial",
"fontsize" : 40.0,
"id" : "obj-45",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 15.0, 0.0, 367.0, 52.0 ],
"text" : "jit.cubehelix",
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
}
}
, {
"box" : {
"id" : "obj-21",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 464.499999999999943, 296.0, 65.0, 22.0 ],
"text" : "gamma $1"
}
}
, {
"box" : {
"id" : "obj-20",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 314.899999999999977, 296.0, 78.0, 22.0 ],
"text" : "saturation $1"
}
}
, {
"box" : {
"id" : "obj-19",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 165.300000000000011, 296.0, 65.0, 22.0 ],
"text" : "rotation $1"
}
}
, {
"box" : {
"id" : "obj-17",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 15.0, 296.0, 49.0, 22.0 ],
"text" : "start $1"
}
}
, {
"box" : {
"id" : "obj-15",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 626.0, 296.0, 41.0, 22.0 ],
"text" : "flip $1"
}
}
, {
"box" : {
"id" : "obj-13",
"maxclass" : "toggle",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"parameter_enable" : 0,
"patching_rect" : [ 626.0, 256.5, 24.0, 24.0 ]
}
}
, {
"box" : {
"id" : "obj-9",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 549.699999999999818, 224.0, 22.0, 20.0 ],
"text" : "+2",
"textcolor" : [ 0.443137254901961, 0.443137254901961, 0.443137254901961, 1.0 ]
}
}
, {
"box" : {
"id" : "obj-10",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 464.499999999999943, 224.0, 19.0, 20.0 ],
"text" : "0",
"textcolor" : [ 0.443137254901961, 0.443137254901961, 0.443137254901961, 1.0 ]
}
}
, {
"box" : {
"floatoutput" : 1,
"id" : "obj-11",
"knobshape" : 5,
"maxclass" : "slider",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"parameter_enable" : 0,
"patching_rect" : [ 464.499999999999943, 240.5, 107.199999999999989, 17.0 ],
"size" : 2.0
}
}
, {
"box" : {
"id" : "obj-6",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 400.099999999999909, 224.0, 22.0, 20.0 ],
"text" : "+2",
"textcolor" : [ 0.443137254901961, 0.443137254901961, 0.443137254901961, 1.0 ]
}
}
, {
"box" : {
"id" : "obj-7",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 314.899999999999977, 224.0, 19.0, 20.0 ],
"text" : "0",
"textcolor" : [ 0.443137254901961, 0.443137254901961, 0.443137254901961, 1.0 ]
}
}
, {
"box" : {
"floatoutput" : 1,
"id" : "obj-8",
"knobshape" : 5,
"maxclass" : "slider",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"parameter_enable" : 0,
"patching_rect" : [ 314.899999999999977, 240.5, 107.199999999999989, 17.0 ],
"size" : 2.0
}
}
, {
"box" : {
"id" : "obj-3",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 250.499999999999943, 224.0, 22.0, 20.0 ],
"text" : "+2",
"textcolor" : [ 0.443137254901961, 0.443137254901961, 0.443137254901961, 1.0 ]
}
}
, {
"box" : {
"id" : "obj-4",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 165.300000000000011, 224.0, 19.0, 20.0 ],
"text" : "0",
"textcolor" : [ 0.443137254901961, 0.443137254901961, 0.443137254901961, 1.0 ]
}
}
, {
"box" : {
"floatoutput" : 1,
"id" : "obj-5",
"knobshape" : 5,
"maxclass" : "slider",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"parameter_enable" : 0,
"patching_rect" : [ 165.300000000000011, 240.5, 107.199999999999989, 17.0 ],
"size" : 2.0
}
}
, {
"box" : {
"id" : "obj-84",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 100.199999999999932, 224.0, 22.0, 20.0 ],
"text" : "+1",
"textcolor" : [ 0.443137254901961, 0.443137254901961, 0.443137254901961, 1.0 ]
}
}
, {
"box" : {
"id" : "obj-83",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 15.0, 224.0, 19.0, 20.0 ],
"text" : "-1",
"textcolor" : [ 0.443137254901961, 0.443137254901961, 0.443137254901961, 1.0 ]
}
}
, {
"box" : {
"floatoutput" : 1,
"id" : "obj-72",
"knobshape" : 5,
"maxclass" : "slider",
"min" : -1.0,
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"parameter_enable" : 0,
"patching_rect" : [ 15.0, 240.5, 107.199999999999989, 17.0 ],
"size" : 2.0
}
}
, {
"box" : {
"id" : "obj-1",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "jit_matrix", "jit_matrix", "" ],
"patching_rect" : [ 15.0, 390.0, 129.0, 22.0 ],
"text" : "jit.cubehelix @dim 100"
}
}
, {
"box" : {
"id" : "obj-88",
"linecount" : 4,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 15.0, 105.0, 712.0, 62.0 ],
"text" : "While color_start and color_end are prefered to input custom ranges, parameters from the original cubehelix algorithm are still available. 'start' sets the starting hue, 'rotation' controls the number of hue rotations and 'saturation' sets the overall saturation. The gamma factor changes how intensity grows. A gamma < 1 emphasises low intensities while gamma > 1 emphasises high intensities. Flip simply reverses the color map.",
"textcolor" : [ 0.32548999786377, 0.345097988843918, 0.372548997402191, 1.0 ]
}
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"source" : [ "obj-1", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-24", 0 ],
"source" : [ "obj-11", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-15", 0 ],
"source" : [ "obj-13", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-17", 0 ],
"source" : [ "obj-14", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-15", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-17", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-19", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-20", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-21", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-19", 0 ],
"source" : [ "obj-22", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-20", 0 ],
"source" : [ "obj-23", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-21", 0 ],
"source" : [ "obj-24", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-22", 0 ],
"source" : [ "obj-5", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-14", 0 ],
"source" : [ "obj-72", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-23", 0 ],
"source" : [ "obj-8", 0 ]
}
}
]
}
,
"patching_rect" : [ 473.0, 4.0, 55.0, 22.0 ],
"saved_object_attributes" : {
"description" : "",
"digest" : "",
"globalpatchername" : "",
"tags" : ""
}
,
"text" : "p classic"
}
}
, {
"box" : {
"hidden" : 1,
"id" : "obj-52",
"maxclass" : "newobj",
"numinlets" : 0,
"numoutlets" : 0,
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 8,
"minor" : 5,
"revision" : 6,
"architecture" : "x64",
"modernui" : 1
}
,
"classnamespace" : "box",
"rect" : [ 0.0, 26.0, 751.0, 532.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 1,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 1,
"objectsnaponopen" : 1,
"statusbarvisible" : 2,
"toolbarvisible" : 1,
"lefttoolbarpinned" : 0,
"toptoolbarpinned" : 0,
"righttoolbarpinned" : 0,
"bottomtoolbarpinned" : 0,
"toolbars_unpinned_last_save" : 0,
"tallnewobj" : 0,
"boxanimatetime" : 200,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"description" : "",
"digest" : "",
"tags" : "",
"style" : "",
"subpatcher_template" : "",
"showontab" : 1,
"assistshowspatchername" : 0,
"title" : "jit.cubehelix.ui",
"boxes" : [ {
"box" : {
"bubble" : 1,
"id" : "obj-11",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 318.0, 443.5, 244.0, 24.0 ],
"text" : "Move the slider to select individual colors"
}
}
, {
"box" : {
"bubble" : 1,
"id" : "obj-9",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 339.0, 253.5, 112.0, 24.0 ],
"text" : "Change settings"
}
}
, {
"box" : {
"bubble" : 1,
"id" : "obj-19",
"linecount" : 2,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 391.0, 121.0, 161.0, 38.0 ],
"text" : "Enable the metro for automatic randomization"
}
}
, {
"box" : {
"id" : "obj-4",
"linecount" : 7,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 339.0, 285.5, 402.0, 103.0 ],
"text" : "Custom knobs work as follow:\n- click'n'drag up/down to change value\n- shift + click'n'drag up/down to enlarge or narrow the randomization range\n- ctrl + click'n'drag up/don to offset that range\n- shift + any of the above commands for fine-tunning\n- click the padlock to prevent the knob from being randomized\n- double-click to reset to default value",
"textcolor" : [ 0.32548999786377, 0.345097988843918, 0.372548997402191, 1.0 ]
}
}
, {
"box" : {
"id" : "obj-37",
"linecount" : 3,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 15.0, 54.0, 588.0, 48.0 ],
"text" : "jit.cubehelix.ui offers a fancy way to explore cubehelix palettes and quickly create satisfying color gradients.\nIt is built around jit.cubehelix but provides additionnal features such as a randomization system with custom knobs and a built-in pattr to save and recall configurations.",
"textcolor" : [ 0.32548999786377, 0.345097988843918, 0.372548997402191, 1.0 ]
}
}
, {
"box" : {
"id" : "obj-6",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 339.0, 166.0, 69.0, 22.0 ],
"text" : "metro 1000"
}
}
, {
"box" : {
"id" : "obj-5",
"maxclass" : "toggle",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"parameter_enable" : 0,
"patching_rect" : [ 339.0, 128.0, 24.0, 24.0 ]
}
}
, {
"box" : {
"fontface" : 0,
"fontname" : "Arial",
"fontsize" : 40.0,
"id" : "obj-45",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 15.0, 0.0, 260.0, 52.0 ],
"text" : "jit.cubehelix.ui",
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
}
}
, {
"box" : {
"bgcolor" : [ 0.612, 0.776, 0.906, 1.0 ],
"bgmode" : 1,
"border" : 0,
"clickthrough" : 0,
"enablehscroll" : 0,
"enablevscroll" : 0,
"id" : "obj-1",
"lockeddragscroll" : 0,
"lockedsize" : 0,
"maxclass" : "bpatcher",
"name" : "jit.cubehelix.ui.maxpat",
"numinlets" : 1,
"numoutlets" : 3,
"offset" : [ 0.0, 0.0 ],
"outlettype" : [ "jit_matrix", "jit_matrix", "" ],
"patching_rect" : [ 15.0, 128.0, 301.0, 393.0 ],
"varname" : "jit.cubehelix.ui",
"viewvisibility" : 1
}
}
, {
"box" : {
"background" : 1,
"bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ],
"fontface" : 1,
"hint" : "",
"id" : "obj-10",
"ignoreclick" : 1,
"legacytextcolor" : 1,
"maxclass" : "textbutton",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "", "", "int" ],
"parameter_enable" : 0,
"patching_rect" : [ 318.0, 255.5, 20.0, 20.0 ],
"rounded" : 60.0,
"text" : "2",
"textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ]
}
}
, {
"box" : {
"background" : 1,
"bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ],
"fontface" : 1,
"hint" : "",
"id" : "obj-12",
"ignoreclick" : 1,
"legacytextcolor" : 1,
"maxclass" : "textbutton",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "", "", "int" ],
"parameter_enable" : 0,
"patching_rect" : [ 318.0, 421.5, 20.0, 20.0 ],
"rounded" : 60.0,
"text" : "3",
"textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ]
}
}
, {
"box" : {
"background" : 1,
"bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ],
"fontface" : 1,
"hint" : "",
"id" : "obj-16",
"ignoreclick" : 1,
"legacytextcolor" : 1,
"maxclass" : "textbutton",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "", "", "int" ],
"parameter_enable" : 0,
"patching_rect" : [ 110.0, 261.0, 20.0, 20.0 ],
"rounded" : 60.0,
"text" : "1",
"textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ]
}
}
, {
"box" : {
"background" : 1,
"bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ],
"fontface" : 1,
"hint" : "",
"id" : "obj-15",
"ignoreclick" : 1,
"legacytextcolor" : 1,
"maxclass" : "textbutton",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "", "", "int" ],
"parameter_enable" : 0,
"patching_rect" : [ 95.0, 246.0, 20.0, 20.0 ],
"rounded" : 60.0,
"text" : "1",
"textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ]
}
}
, {
"box" : {
"background" : 1,
"bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ],
"fontface" : 1,
"hint" : "",
"id" : "obj-93",
"ignoreclick" : 1,
"legacytextcolor" : 1,
"maxclass" : "textbutton",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "", "", "int" ],
"parameter_enable" : 0,
"patching_rect" : [ 369.0, 130.0, 20.0, 20.0 ],
"rounded" : 60.0,
"text" : "1",
"textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ]
}
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-6", 0 ],
"source" : [ "obj-5", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"midpoints" : [ 348.5, 189.0, 325.0, 189.0, 325.0, 114.0, 24.5, 114.0 ],
"source" : [ "obj-6", 0 ]
}
}
]
}
,
"patching_rect" : [ 405.0, 4.0, 28.0, 22.0 ],
"saved_object_attributes" : {
"description" : "",
"digest" : "",
"globalpatchername" : "",
"tags" : ""
}
,
"text" : "p ui",
"varname" : "ui"
}
}
, {
"box" : {
"id" : "obj-51",
"linecount" : 2,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 429.5, 329.0, 303.0, 34.0 ],
"text" : "If colormodeoutput is set to 1, matrices/values from 1st and 3rd outlet are in HSL. If 0 they're in RGB (default).",
"textcolor" : [ 0.32548999786377, 0.345097988843918, 0.372548997402191, 1.0 ]
}
}
, {
"box" : {
"id" : "obj-50",
"linecount" : 3,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 429.5, 397.0, 299.0, 48.0 ],
"text" : "If alpha_last is set to 1, the alpha channel is set in last position (RGBA/HSLA). By default, it's in first position (ARGB/AHSL).",
"textcolor" : [ 0.32548999786377, 0.345097988843918, 0.372548997402191, 1.0 ]
}
}
, {
"box" : {
"bubble" : 1,
"id" : "obj-49",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 199.0, 210.0, 175.0, 24.0 ],
"text" : "Works with RGB too!"
}
}
, {
"box" : {
"bubble" : 1,
"id" : "obj-48",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 219.0, 170.0, 99.0, 24.0 ],
"text" : "Set end color"
}
}
, {
"box" : {
"bubble" : 1,
"id" : "obj-47",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 200.0, 138.0, 100.0, 24.0 ],
"text" : "Set start color"
}
}
, {
"box" : {
"fontface" : 1,
"fontsize" : 12.0,
"id" : "obj-76",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 15.0, 53.0, 199.0, 20.0 ],
"text" : "Cubehelix color palette generator"
}
}
, {
"box" : {
"id" : "obj-88",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 15.0, 75.0, 710.0, 20.0 ],
"text" : "Generates a 1-dimension color matrix using the cubehelix algorithm, which creates gradients with smooth brightness fadings.",
"textcolor" : [ 0.32548999786377, 0.345097988843918, 0.372548997402191, 1.0 ]
}
}
, {
"box" : {
"fontface" : 0,
"fontname" : "Arial",
"fontsize" : 40.0,
"id" : "obj-45",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 15.0, 0.0, 367.0, 52.0 ],
"text" : "jit.cubehelix",
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
}
}
, {
"box" : {
"id" : "obj-39",
"maxclass" : "jit.pwindow",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 125.0, 410.0, 110.0, 22.0 ],
"sync" : 1
}
}
, {
"box" : {
"id" : "obj-33",
"knobshape" : 5,
"maxclass" : "slider",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"parameter_enable" : 0,
"patching_rect" : [ 94.0, 273.0, 141.0, 17.0 ],
"size" : 100.0
}
}
, {
"box" : {
"id" : "obj-22",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 94.0, 298.0, 68.0, 22.0 ],
"text" : "getcolor $1"
}
}
, {
"box" : {
"id" : "obj-17",
"maxclass" : "toggle",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"parameter_enable" : 0,
"patching_rect" : [ 404.0, 409.0, 24.0, 24.0 ]
}
}
, {
"box" : {
"id" : "obj-18",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 404.0, 445.0, 80.0, 22.0 ],
"text" : "alpha_last $1"
}
}
, {
"box" : {
"id" : "obj-16",
"maxclass" : "toggle",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"parameter_enable" : 0,
"patching_rect" : [ 404.0, 334.0, 24.0, 24.0 ]
}
}
, {
"box" : {
"id" : "obj-14",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 404.0, 370.0, 115.0, 22.0 ],
"text" : "colormodeoutput $1"
}
}
, {
"box" : {
"id" : "obj-11",
"maxclass" : "swatch",
"numinlets" : 3,
"numoutlets" : 2,
"outlettype" : [ "", "float" ],
"parameter_enable" : 0,
"patching_rect" : [ 69.0, 206.0, 128.0, 32.0 ],
"saturation" : 1.0
}
}
, {
"box" : {
"id" : "obj-8",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 70.0, 170.0, 153.0, 22.0 ],
"text" : "color_end hsl 0.25 0.3 1. 1."
}
}
, {
"box" : {
"id" : "obj-6",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 41.0, 138.0, 150.0, 22.0 ],
"text" : "color_start hsl 0.7 0.8 0. 1."
}
}
, {
"box" : {
"id" : "obj-2",
"maxclass" : "jit.pwindow",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 15.0, 480.0, 720.0, 50.0 ],
"sync" : 1
}
}
, {
"box" : {
"id" : "obj-1",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "jit_matrix", "jit_matrix", "" ],
"patching_rect" : [ 15.0, 341.0, 129.0, 22.0 ],
"text" : "jit.cubehelix @dim 100"
}
}
, {
"box" : {
"hidden" : 1,
"id" : "obj-38",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 404.0, 186.0, 89.0, 22.0 ],
"text" : "loadmess set 1"
}
}
, {
"box" : {
"hidden" : 1,
"id" : "obj-46",
"linecount" : 2,
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 757.0, 170.0, 388.0, 36.0 ],
"text" : ";\r\nmax launchbrowser https://astron-soc.in/bulletin/11June/289392011.pdf"
}
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"source" : [ "obj-1", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-23", 0 ],
"source" : [ "obj-1", 2 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-7", 0 ],
"source" : [ "obj-1", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-25", 0 ],
"source" : [ "obj-11", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-14", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-15", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-14", 0 ],
"source" : [ "obj-16", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-18", 0 ],
"source" : [ "obj-17", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-18", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-22", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-39", 0 ],
"source" : [ "obj-23", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-25", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-34", 0 ],
"source" : [ "obj-31", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-22", 0 ],
"source" : [ "obj-33", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-34", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-31", 0 ],
"hidden" : 1,
"source" : [ "obj-38", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-46", 0 ],
"hidden" : 1,
"source" : [ "obj-41", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-6", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"source" : [ "obj-8", 0 ]
}
}
],
"parameters" : {
"obj-52::obj-1::obj-15" : [ "live.text[2]", "live.text[1]", 0 ],
"obj-52::obj-1::obj-18" : [ "live.text[4]", "live.text[1]", 0 ],
"obj-52::obj-1::obj-50" : [ "live.text[3]", "live.text[1]", 0 ],
"obj-52::obj-1::obj-85" : [ "live.text[1]", "live.text[1]", 0 ],
"parameterbanks" : {
"0" : {
"index" : 0,
"name" : "",
"parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ]
}
}
,
"inherited_shortname" : 1
}
,
"dependency_cache" : [ {
"name" : "cubehelixui-default.json",
"bootpath" : "D:/_MAX/_RESSOURCE/Cubehelix_color_MaxMSP",
"patcherrelativepath" : ".",
"type" : "JSON",
"implicit" : 1
}
, {
"name" : "jit.cubehelix.maxpat",
"bootpath" : "D:/_MAX/_RESSOURCE/Cubehelix_color_MaxMSP",
"patcherrelativepath" : ".",
"type" : "JSON",
"implicit" : 1
}
, {
"name" : "jit.cubehelix.ui.maxpat",
"bootpath" : "D:/_MAX/_RESSOURCE/Cubehelix_color_MaxMSP",
"patcherrelativepath" : ".",
"type" : "JSON",
"implicit" : 1
}
, {
"name" : "jit.pass.mxe64",
"type" : "mx64"
}
, {
"name" : "knob-range.js",
"bootpath" : "D:/_MAX/_RESSOURCE/tc.utils/jsui_knob",
"patcherrelativepath" : "../tc.utils/jsui_knob",
"type" : "TEXT",
"implicit" : 1
}
],
"autosave" : 0
}
}