Browse Source

authoring, small jit.cubehelix.ui improvements ; ignoring old folder

master
TFLCL 8 months ago
parent
commit
0f89e964b6
  1. 4
      .gitignore
  2. 58
      cubehelixui-default.json
  3. 40
      jit.cubehelix.maxhelp
  4. 137
      jit.cubehelix.ui.maxpat

4
.gitignore vendored

@ -1,6 +1,4 @@
Cubehelix_simple.maxpat
Cubehelix_old.maxpat
Cubehelix_MaxMSP.zip
old/
# General

58
cubehelixui-default.json

@ -1,6 +1,6 @@
{
"pattrstorage" : {
"name" : "#0-cubehelixui",
"name" : "1002-cubehelixui",
"slots" : {
"1" : {
"id" : 1,
@ -8,15 +8,15 @@
"alpha_last" : [ 0.0 ],
"colormodeoutput" : [ 0.0 ],
"dim" : [ 128 ],
"e_h" : [ -0.666666, 0, 1, 0 ],
"e_l" : [ 1, 0, 1, 0 ],
"e_s" : [ 0.5, 0, 1, 0 ],
"e_h" : [ -0.666666, -1.0, 1, 0 ],
"e_l" : [ 1, 0.0, 1, 0 ],
"e_s" : [ 0.5, 0.0, 2, 0 ],
"flip" : [ 0.0 ],
"gamma" : [ 1, 0.166666666666667, 0.5, 0 ],
"gamma" : [ 1, 0.5, 1.5, 0 ],
"listoutput" : [ 0.0 ],
"s_h" : [ 0.888888, 0, 1, 0 ],
"s_l" : [ 0, 0, 1, 0 ],
"s_s" : [ 0.619999999999999, 0, 1, 0 ]
"s_h" : [ 0.888888, -1.0, 1, 0 ],
"s_l" : [ 0, 0.0, 1, 0 ],
"s_s" : [ 0.5, 0.0, 2, 0 ]
}
}
@ -27,15 +27,15 @@
"alpha_last" : [ 0.0 ],
"colormodeoutput" : [ 0.0 ],
"dim" : [ 128 ],
"e_h" : [ 0.165999999999999, 0, 1, 0 ],
"e_h" : [ 0.16666666, -1, 1, 0 ],
"e_l" : [ 1, 0, 1, 0 ],
"e_s" : [ 0.5, 0, 1, 0 ],
"e_s" : [ 0.5, 0, 2, 0 ],
"flip" : [ 0.0 ],
"gamma" : [ 1, 0.166666666666667, 0.5, 0 ],
"gamma" : [ 1, 0.5, 1.5, 0 ],
"listoutput" : [ 0.0 ],
"s_h" : [ -0.611112000000001, 0, 1, 0 ],
"s_h" : [ -0.611112000000001, -1, 1, 0 ],
"s_l" : [ 0, 0, 1, 0 ],
"s_s" : [ 0.619999999999999, 0, 1, 0 ]
"s_s" : [ 0.619999999999999, 0, 2, 0 ]
}
}
@ -46,15 +46,15 @@
"alpha_last" : [ 0.0 ],
"colormodeoutput" : [ 0.0 ],
"dim" : [ 128 ],
"e_h" : [ 0.193999999999999, 0.465, 0.715, 0 ],
"e_h" : [ 0.1944444, -0.0064444, 0.3944444, 0 ],
"e_l" : [ 0.8, 0, 1, 1 ],
"e_s" : [ 1.500000000000001, 0, 1, 1 ],
"e_s" : [ 1.500000000000001, 0, 2, 1 ],
"flip" : [ 0.0 ],
"gamma" : [ 1, 0.166666666666667, 0.5, 1 ],
"gamma" : [ 1, 0.5, 1.5, 1 ],
"listoutput" : [ 0.0 ],
"s_h" : [ 0.75, 0.765, 1, 0 ],
"s_h" : [ 0.75, 0.55, 0.95, 0 ],
"s_l" : [ 0.35, 0, 1, 1 ],
"s_s" : [ 0.748, 0, 1, 1 ]
"s_s" : [ 0.748, 0, 2, 1 ]
}
}
@ -65,15 +65,15 @@
"alpha_last" : [ 0.0 ],
"colormodeoutput" : [ 0.0 ],
"dim" : [ 128 ],
"e_h" : [ 0.265999999999999, 0.52, 0.74, 0 ],
"e_h" : [ 0.2666666, 0.0666666, 0.4666666, 0 ],
"e_l" : [ 1, 0, 1, 1 ],
"e_s" : [ 0.6, 0, 1, 1 ],
"e_s" : [ 0.6, 0.0, 2, 1 ],
"flip" : [ 0.0 ],
"gamma" : [ 1, 0.166666666666667, 0.5, 1 ],
"gamma" : [ 1, 0.8, 1.2, 1 ],
"listoutput" : [ 0.0 ],
"s_h" : [ 0.766, 0.76, 1, 0 ],
"s_h" : [ 0.766666, 0.566666, 0.96666666, 0 ],
"s_l" : [ 0, 0, 1, 1 ],
"s_s" : [ 0.6, 0, 1, 1 ]
"s_s" : [ 0.6, 0.0, 2, 1 ]
}
}
@ -84,15 +84,15 @@
"alpha_last" : [ 0.0 ],
"colormodeoutput" : [ 0.0 ],
"dim" : [ 128 ],
"e_h" : [ 0.163999999999999, 0.465, 0.715, 0 ],
"e_l" : [ 1, 0, 1, 1 ],
"e_s" : [ 0.6, 0, 1, 1 ],
"e_h" : [ 0.166667, -0.0333333, 0.366666, 0 ],
"e_l" : [ 1, 0.0, 1, 1 ],
"e_s" : [ 0.6, 0.0, 2, 1 ],
"flip" : [ 0.0 ],
"gamma" : [ 1, 0.166666666666667, 0.5, 1 ],
"gamma" : [ 1, 0.8, 1.2, 1 ],
"listoutput" : [ 0.0 ],
"s_h" : [ -0.332000000000001, 0.225, 0.46, 0 ],
"s_h" : [ -0.333333, -0.533333, -0.133333, 0 ],
"s_l" : [ 0, 0, 1, 1 ],
"s_s" : [ 0.6, 0, 1, 1 ]
"s_s" : [ 0.6, 0.0, 2, 1 ]
}
}

40
jit.cubehelix.maxhelp

@ -354,7 +354,7 @@
}
,
"classnamespace" : "box",
"rect" : [ 0.0, 26.0, 747.0, 535.0 ],
"rect" : [ 0.0, 26.0, 747.0, 561.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 12.0,
@ -765,7 +765,7 @@
}
,
"classnamespace" : "box",
"rect" : [ 0.0, 26.0, 747.0, 535.0 ],
"rect" : [ 0.0, 26.0, 747.0, 561.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 12.0,
@ -1280,7 +1280,7 @@
}
,
"classnamespace" : "box",
"rect" : [ 85.0, 152.0, 747.0, 535.0 ],
"rect" : [ 85.0, 126.0, 747.0, 561.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 12.0,
@ -1311,6 +1311,18 @@
"assistshowspatchername" : 0,
"title" : "jit.cubehelix.ui",
"boxes" : [ {
"box" : {
"id" : "obj-7",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 339.0, 196.0, 65.0, 22.0 ],
"text" : "randomize"
}
}
, {
"box" : {
"bubble" : 1,
"id" : "obj-11",
@ -1329,8 +1341,8 @@
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 339.0, 253.5, 112.0, 24.0 ],
"text" : "Change settings"
"patching_rect" : [ 339.0, 253.5, 221.0, 24.0 ],
"text" : "Change settings, try different presets"
}
}
@ -1550,11 +1562,18 @@
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"midpoints" : [ 348.5, 189.0, 325.0, 189.0, 325.0, 114.0, 24.5, 114.0 ],
"destination" : [ "obj-7", 0 ],
"source" : [ "obj-6", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"midpoints" : [ 348.5, 219.0, 326.0, 219.0, 326.0, 114.0, 24.5, 114.0 ],
"source" : [ "obj-7", 0 ]
}
}
]
}
@ -2009,6 +2028,13 @@
"type" : "gJIT",
"implicit" : 1
}
, {
"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",

137
jit.cubehelix.ui.maxpat

@ -10,7 +10,7 @@
}
,
"classnamespace" : "box",
"rect" : [ 245.0, 320.0, 979.0, 679.0 ],
"rect" : [ 139.0, 264.0, 667.0, 444.0 ],
"bglocked" : 0,
"openinpresentation" : 1,
"default_fontsize" : 12.0,
@ -93,7 +93,7 @@
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 804.0, 244.0, 29.5, 22.0 ],
"patching_rect" : [ 806.0, 242.0, 29.5, 22.0 ],
"text" : "t l l"
}
@ -105,7 +105,7 @@
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 804.0, 313.0, 39.0, 22.0 ],
"patching_rect" : [ 806.0, 311.0, 39.0, 22.0 ],
"text" : "zl.join"
}
@ -117,7 +117,7 @@
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "bang", "bang" ],
"patching_rect" : [ 804.0, 45.305826558368722, 32.0, 22.0 ],
"patching_rect" : [ 806.0, 43.305826558368722, 32.0, 22.0 ],
"text" : "t b b"
}
@ -129,7 +129,7 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 892.0, 237.0, 52.0, 22.0 ],
"patching_rect" : [ 894.0, 235.0, 52.0, 22.0 ],
"text" : "300 410"
}
@ -141,7 +141,7 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 824.0, 282.28640450407795, 87.0, 22.0 ],
"patching_rect" : [ 826.0, 280.28640450407795, 87.0, 22.0 ],
"text" : "vexpr $i1 + $i2"
}
@ -153,7 +153,7 @@
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 804.0, 207.0, 55.0, 22.0 ],
"patching_rect" : [ 806.0, 205.0, 55.0, 22.0 ],
"text" : "zl.slice 2"
}
@ -165,7 +165,7 @@
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 804.0, 13.0, 58.0, 22.0 ],
"patching_rect" : [ 806.0, 12.0, 58.0, 22.0 ],
"text" : "loadbang"
}
@ -177,7 +177,7 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 804.0, 77.5, 90.0, 22.0 ],
"patching_rect" : [ 806.0, 75.5, 90.0, 22.0 ],
"text" : "window getsize"
}
@ -191,7 +191,7 @@
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 804.0, 176.106797993183136, 59.0, 22.0 ],
"patching_rect" : [ 806.0, 174.106797993183136, 59.0, 22.0 ],
"text" : "route size"
}
@ -205,7 +205,7 @@
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 804.0, 148.029120743274689, 79.0, 22.0 ],
"patching_rect" : [ 806.0, 146.029120743274689, 79.0, 22.0 ],
"text" : "route window"
}
@ -219,7 +219,7 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 804.0, 356.28640450407795, 208.0, 22.0 ],
"patching_rect" : [ 806.0, 354.28640450407795, 208.0, 22.0 ],
"text" : "window size $1 $2 $3 $4, window exec"
}
@ -231,7 +231,7 @@
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 804.0, 114.106797993183136, 67.0, 22.0 ],
"patching_rect" : [ 806.0, 112.106797993183136, 67.0, 22.0 ],
"save" : [ "#N", "thispatcher", ";", "#Q", "end", ";" ],
"text" : "thispatcher"
}
@ -245,7 +245,7 @@
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 587.0, 550.687592625617981, 448.300971925258636, 103.0 ],
"text" : "TODO:\n- Make pattrstorage store scaled values for the range (more meaningfull to user)\n- Implement a special mode for the end color hue to act as an offset from the start hue (basically make it a \"rotation\" setting), with a selection of some default values (complementary, \n- Allow to set knob settings from inlet with messages such as 'start_hue 0. -0.5 0.5 0' (value of 0., random range of -0.5, 0.5 and locked to 0)"
"text" : "TODO:\n- Implement a special mode for the end color hue to act as an offset from the start hue (basically make it a \"rotation\" setting), with a selection of some default values (complementary, \n- Allow to set knob settings from inlet with messages such as 'start_hue 0. -0.5 0.5 0' (value of 0., random range of -0.5, 0.5 and locked to 0)\n- code factorisation?"
}
}
@ -258,7 +258,7 @@
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 432.0, 600.0, 50.0, 36.0 ],
"text" : "-0.323996"
"text" : "-0.666666"
}
}
@ -386,15 +386,15 @@
"alpha_last" : [ 0.0 ],
"colormodeoutput" : [ 0.0 ],
"dim" : [ 128 ],
"e_h" : [ -0.323995549892999, 0.25, 0.75, 0 ],
"e_l" : [ 0.750656257113465, 0, 1, 0 ],
"e_s" : [ 1.895719982930721, 0, 1, 0 ],
"e_h" : [ -0.666666, -1, 1, 0 ],
"e_l" : [ 1, 0, 1, 0 ],
"e_s" : [ 0.5, 0, 2, 0 ],
"flip" : [ 0.0 ],
"gamma" : [ 0.526810515230414, 0.166666666666667, 0.5, 0 ],
"gamma" : [ 1, 0.5, 1.5, 0 ],
"listoutput" : [ 0.0 ],
"s_h" : [ 0.247902265609083, 0.25, 0.75, 0 ],
"s_l" : [ 0.499595442526692, 0, 1, 0 ],
"s_s" : [ 1.855728608182778, 0, 1, 0 ]
"s_h" : [ 0.888888, -1, 1, 0 ],
"s_l" : [ 0, 0, 1, 0 ],
"s_s" : [ 0.5, 0, 2, 0 ]
}
,
"text" : "autopattr",
@ -573,10 +573,10 @@
"outlettype" : [ "" ],
"patching_rect" : [ 400.892822000000024, 63.927735401886025, 334.0, 22.0 ],
"saved_object_attributes" : {
"client_rect" : [ 8, 111, 541, 516 ],
"client_rect" : [ 27, 158, 514, 944 ],
"parameter_enable" : 0,
"parameter_mappable" : 0,
"storage_rect" : [ 200, 200, 800, 500 ]
"storage_rect" : [ 25, 107, 816, 991 ]
}
,
"text" : "pattrstorage #0-cubehelixui @autorestore 0 @savemode 3",
@ -591,8 +591,8 @@
"numinlets" : 4,
"numoutlets" : 4,
"outlettype" : [ "", "", "", "" ],
"patching_rect" : [ 197.392822203773534, 45.305826558368722, 173.0, 22.0 ],
"text" : "route dim bang to_pattrstorage"
"patching_rect" : [ 197.392822203773534, 45.305826558368722, 202.0, 22.0 ],
"text" : "route dim randomize to_pattrstorage"
}
}
@ -697,7 +697,7 @@
"box" : {
"comment" : "Unprocessed matrix (ARGB)",
"id" : "obj-5",
"index" : 2,
"index" : 0,
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
@ -951,7 +951,7 @@
"box" : {
"comment" : "Outputs colors as lists",
"id" : "obj-80",
"index" : 3,
"index" : 0,
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
@ -963,7 +963,7 @@
"box" : {
"comment" : "Processed matrix (ARGB/RGBA/AHSL/HSLA)",
"id" : "obj-79",
"index" : 1,
"index" : 0,
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
@ -975,11 +975,11 @@
"box" : {
"comment" : "bang, dim, to_pattrstorage",
"id" : "obj-78",
"index" : 1,
"index" : 0,
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"outlettype" : [ "" ],
"patching_rect" : [ 197.392822203773534, 9.0, 30.0, 30.0 ]
}
@ -2234,7 +2234,7 @@
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "bang", "bang" ],
"outlettype" : [ "randomize", "bang" ],
"patcher" : {
"fileversion" : 1,
"appversion" : {
@ -2246,7 +2246,7 @@
}
,
"classnamespace" : "box",
"rect" : [ 59.0, 107.0, 640.0, 480.0 ],
"rect" : [ -31958.0, -31915.0, 640.0, 480.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 12.0,
@ -2281,7 +2281,7 @@
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 145.0, 134.0, 150.0, 62.0 ],
"patching_rect" : [ 146.0, 144.0, 150.0, 62.0 ],
"text" : "Disable auto when firing random values to avoid useless calculation and outputs"
}
@ -2293,7 +2293,7 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 78.999998203773487, 150.480584800243378, 49.0, 22.0 ],
"patching_rect" : [ 92.999998203773487, 174.0, 49.0, 22.0 ],
"text" : "auto $1"
}
@ -2304,9 +2304,9 @@
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 4,
"outlettype" : [ "int", "bang", "bang", "int" ],
"patching_rect" : [ 50.0, 100.0, 52.0, 22.0 ],
"text" : "t 1 b b 0"
"outlettype" : [ "int", "bang", "randomize", "int" ],
"patching_rect" : [ 50.0, 100.0, 101.0, 22.0 ],
"text" : "t 1 b randomize 0"
}
}
@ -2818,6 +2818,7 @@
"numoutlets" : 5,
"outlettype" : [ "preset", "int", "preset", "int", "" ],
"patching_rect" : [ 400.892822000000024, 212.0, 97.0, 47.0 ],
"pattrstorage" : "#0-cubehelixui",
"presentation" : 1,
"presentation_rect" : [ 0.0, 43.0, 240.829459190368652, 32.153864413499832 ],
"stored1" : [ 0.792308, 0.64636, 0.886275, 1.0 ]
@ -3608,6 +3609,13 @@
"source" : [ "obj-7", 2 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-45", 0 ],
"source" : [ "obj-7", 0 ]
}
}
, {
"patchline" : {
@ -3775,7 +3783,7 @@
, {
"patchline" : {
"destination" : [ "obj-93", 0 ],
"midpoints" : [ 813.5, 381.0, 789.0, 381.0, 789.0, 108.0, 813.5, 108.0 ],
"midpoints" : [ 815.5, 379.0, 791.0, 379.0, 791.0, 106.0, 815.5, 106.0 ],
"source" : [ "obj-94", 0 ]
}
@ -3802,6 +3810,57 @@
}
],
"parameters" : {
"obj-15" : [ "live.text[2]", "live.text[1]", 0 ],
"obj-18" : [ "live.text[4]", "live.text[1]", 0 ],
"obj-50" : [ "live.text[3]", "live.text[1]", 0 ],
"obj-85" : [ "live.text[1]", "live.text[1]", 0 ],
"parameterbanks" : {
"0" : {
"index" : 0,
"name" : "",
"parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ]
}
}
,
"inherited_shortname" : 1
}
,
"dependency_cache" : [ {
"name" : "cubehelix.genjit",
"bootpath" : "D:/_MAX/_RESSOURCE/Cubehelix_color_MaxMSP",
"patcherrelativepath" : ".",
"type" : "gJIT",
"implicit" : 1
}
, {
"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.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,
"bgcolor" : [ 0.611764705882353, 0.776470588235294, 0.905882352941176, 1.0 ],
"editing_bgcolor" : [ 0.612, 0.776, 0.906, 1.0 ]
}

Loading…
Cancel
Save