Forums > Jitter

Matrixes alphablending/merging

May 7, 2013 | 1:26 pm

Hello Fellow Jitter/Max people.
I’m currently working on a lightpainting project as part of my education, using software from here: http://cycling74.com/forums/topic.php?id=25512 To create an interactive screen on which users can paint using a lamp, mobilephone etc.
Anyways, I got it to actually colour the areas in which the light is, but I also want to expand in the sense of colour use. I’ve tried to merge several matrices using jit.alphablend (so as to create different layers with different colours) but I can´t seem to figure out how to connect it all together. Any helt would be appreciated.

code: `{
"boxes" : [ {
"box" : {
"maxclass" : "newobj",
"text" : "matrix~ 1 3",
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 4,
"outlettype" : [ "signal", "signal", "signal", "list" ],
"patching_rect" : [ 583.0, 444.0, 59.5, 17.0 ],
"id" : "obj-44",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.matrix",
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 508.0, 630.0, 44.0, 17.0 ],
"id" : "obj-14",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "sel 32",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "bang", "" ],
"patching_rect" : [ 436.5, 481.0, 35.0, 17.0 ],
"id" : "obj-53",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "key",
"numinlets" : 0,
"fontsize" : 9.0,
"numoutlets" : 4,
"outlettype" : [ "int", "int", "int", "int" ],
"patching_rect" : [ 436.5, 460.0, 59.5, 17.0 ],
"id" : "obj-52",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "clear",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 436.5, 506.0, 32.5, 15.0 ],
"id" : "obj-16",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "jit.pwindow",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 388.5, 653.0, 80.0, 60.0 ],
"id" : "obj-169"
}

}
, {
"box" : {
"maxclass" : "jit.pwindow",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 388.5, 579.5, 80.0, 60.0 ],
"id" : "obj-168"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.pack 4",
"numinlets" : 4,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 610.0, 563.0, 59.5, 17.0 ],
"id" : "obj-167",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.unpack 4",
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 5,
"outlettype" : [ "jit_matrix", "jit_matrix", "jit_matrix", "jit_matrix", "" ],
"patching_rect" : [ 610.0, 528.0, 73.0, 17.0 ],
"id" : "obj-166",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.matrix",
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 610.0, 502.0, 44.0, 17.0 ],
"id" : "obj-164",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.matrix",
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 553.0, 553.0, 44.0, 17.0 ],
"id" : "obj-163",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.alphablend",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 508.0, 601.0, 64.0, 17.0 ],
"id" : "obj-141",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.rgb2luma",
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 600.0, 329.0, 57.0, 17.0 ],
"id" : "obj-139",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "Cropping matrix visual",
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 0,
"patching_rect" : [ 218.5, 660.0, 150.0, 17.0 ],
"frgb" : 0.0,
"id" : "obj-35",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.submatrix @dim 220 150 @offset 50 10",
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 37.0, 207.0, 178.0, 17.0 ],
"id" : "obj-89",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.submatrix @dim 220 150 @offset 50 10",
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 37.0, 660.0, 178.0, 17.0 ],
"id" : "obj-61",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "read, bang",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 752.0, 434.0, 54.0, 15.0 ],
"id" : "obj-28",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "jit.pwindow",
"numinlets" : 1,
"numoutlets" : 2,
"presentation_rect" : [ 717.0, 234.0, 240.0, 180.0 ],
"outlettype" : [ "", "" ],
"patching_rect" : [ 852.0, 502.0, 243.0, 183.0 ],
"id" : "obj-87"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "write dix.jxf",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 757.0, 460.0, 55.0, 15.0 ],
"id" : "obj-81",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.matrix",
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 600.0, 287.0, 44.0, 17.0 ],
"id" : "obj-74",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "< - Try clicking this if nothing is being drawn. The threshold might be too high.",
"linecount" : 2,
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 0,
"patching_rect" : [ 300.0, 56.0, 169.0, 27.0 ],
"frgb" : 0.0,
"id" : "obj-60",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "< -Let only the brightest pixels through",
"linecount" : 2,
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 0,
"patching_rect" : [ 186.0, 260.0, 105.0, 27.0 ],
"frgb" : 0.0,
"id" : "obj-59",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "Blur/effects/compositingnstage",
"linecount" : 2,
"numinlets" : 1,
"fontsize" : 16.0,
"numoutlets" : 0,
"patching_rect" : [ 509.0, 56.0, 190.0, 43.0 ],
"frgb" : 0.0,
"id" : "obj-57",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "Motion Detection!",
"numinlets" : 1,
"fontsize" : 16.0,
"numoutlets" : 0,
"patching_rect" : [ 938.0, 111.0, 141.0, 24.0 ],
"frgb" : 0.0,
"id" : "obj-56",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "< - Feedback loop and drawing storage",
"linecount" : 2,
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 0,
"patching_rect" : [ 176.0, 329.0, 105.0, 27.0 ],
"frgb" : 0.0,
"id" : "obj-49",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "< -Check for flow based movement control and how to automatigically change the color of the drawing",
"linecount" : 3,
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 0,
"patching_rect" : [ 179.0, 483.0, 148.0, 37.0 ],
"frgb" : 0.0,
"id" : "obj-47",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "loadmess 127",
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 597.0, 168.0, 67.0, 17.0 ],
"id" : "obj-40",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "Amount of effect",
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 0,
"patching_rect" : [ 600.0, 186.0, 79.0, 17.0 ],
"frgb" : 0.0,
"id" : "obj-33",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.matrix shrink 4 char 64 48",
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 854.0, 255.0, 123.0, 17.0 ],
"id" : "obj-149",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "0.97 0.97 0.97 0.97",
"numinlets" : 2,
"fontsize" : 11.595187,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 181.0, 57.0, 118.0, 17.0 ],
"id" : "obj-13",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "p motion-based-autoclear",
"numinlets" : 0,
"color" : [ 0.858824, 0.043137, 0.043137, 1.0 ],
"fontsize" : 13.0,
"numoutlets" : 0,
"patching_rect" : [ 852.0, 468.0, 159.0, 21.0 ],
"id" : "obj-11",
"fontname" : "Arial",
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 6,
"minor" : 0,
"revision" : 7
}
,
"rect" : [ 25.0, 69.0, 640.0, 480.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 0,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 0,
"statusbarvisible" : 2,
"toolbarvisible" : 1,
"boxanimatetime" : 200,
"imprint" : 0,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"description" : "",
"digest" : "",
"tags" : "",
"boxes" : [ {
"box" : {
"maxclass" : "comment",
"text" : "Motion based auto clearnmust connect bang at bottom to n[s brightreset] and [r motiondet] to jit.3m for it to work",
"linecount" : 4,
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 0,
"patching_rect" : [ 78.0, 5.0, 193.0, 47.0 ],
"frgb" : 0.0,
"id" : "obj-118",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "0",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 331.0, 369.0, 32.5, 15.0 ],
"id" : "obj-111",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "onebang",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "bang", "bang" ],
"patching_rect" : [ 408.0, 309.0, 46.0, 17.0 ],
"id" : "obj-75",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "onebang",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "bang", "bang" ],
"patching_rect" : [ 384.0, 330.0, 46.0, 17.0 ],
"id" : "obj-98",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "sel 0 1",
"numinlets" : 3,
"fontsize" : 9.0,
"numoutlets" : 3,
"outlettype" : [ "bang", "bang", "" ],
"patching_rect" : [ 384.0, 285.0, 46.0, 17.0 ],
"id" : "obj-99",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "toggle",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 397.0, 263.0, 20.0, 20.0 ],
"id" : "obj-100",
"parameter_enable" : 0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "onebang",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "bang", "bang" ],
"patching_rect" : [ 354.0, 309.0, 46.0, 17.0 ],
"id" : "obj-62",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "onebang",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "bang", "bang" ],
"patching_rect" : [ 330.0, 330.0, 46.0, 17.0 ],
"id" : "obj-66",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "sel 0 1",
"numinlets" : 3,
"fontsize" : 9.0,
"numoutlets" : 3,
"outlettype" : [ "bang", "bang", "" ],
"patching_rect" : [ 330.0, 285.0, 46.0, 17.0 ],
"id" : "obj-73",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "toggle",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 343.0, 263.0, 20.0, 20.0 ],
"id" : "obj-74",
"parameter_enable" : 0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "onebang",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "bang", "bang" ],
"patching_rect" : [ 299.0, 310.0, 46.0, 17.0 ],
"id" : "obj-58",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "onebang",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "bang", "bang" ],
"patching_rect" : [ 275.0, 331.0, 46.0, 17.0 ],
"id" : "obj-59",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "sel 0 1",
"numinlets" : 3,
"fontsize" : 9.0,
"numoutlets" : 3,
"outlettype" : [ "bang", "bang", "" ],
"patching_rect" : [ 275.0, 286.0, 46.0, 17.0 ],
"id" : "obj-60",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "toggle",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 288.0, 264.0, 20.0, 20.0 ],
"id" : "obj-61",
"parameter_enable" : 0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "onebang",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "bang", "bang" ],
"patching_rect" : [ 238.0, 309.0, 46.0, 17.0 ],
"id" : "obj-54",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "onebang",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "bang", "bang" ],
"patching_rect" : [ 214.0, 330.0, 46.0, 17.0 ],
"id" : "obj-55",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "sel 0 1",
"numinlets" : 3,
"fontsize" : 9.0,
"numoutlets" : 3,
"outlettype" : [ "bang", "bang", "" ],
"patching_rect" : [ 214.0, 285.0, 46.0, 17.0 ],
"id" : "obj-56",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "toggle",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 227.0, 263.0, 20.0, 20.0 ],
"id" : "obj-57",
"parameter_enable" : 0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "< 120000",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 362.0, 242.0, 48.0, 17.0 ],
"id" : "obj-51",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "< 60000",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 311.0, 241.0, 43.0, 17.0 ],
"id" : "obj-49",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "< 30000",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 258.0, 241.0, 43.0, 17.0 ],
"id" : "obj-47",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "< 10000",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 202.0, 242.0, 43.0, 17.0 ],
"id" : "obj-33",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "r motiondet",
"numinlets" : 0,
"color" : [ 0.87451, 0.317647, 0.317647, 1.0 ],
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 15.0, 7.0, 56.0, 17.0 ],
"id" : "obj-155",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "speedlim 250",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 47.0, 99.0, 64.0, 17.0 ],
"id" : "obj-147",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "s brightreset",
"numinlets" : 1,
"color" : [ 0.909804, 0.498039, 0.227451, 1.0 ],
"fontsize" : 9.0,
"numoutlets" : 0,
"patching_rect" : [ 158.0, 380.0, 60.0, 17.0 ],
"id" : "obj-136",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 158.0, 348.0, 20.0, 20.0 ],
"id" : "obj-135",
"outlinecolor" : [ 0.815686, 0.192157, 0.192157, 1.0 ]
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "onebang",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "bang", "bang" ],
"patching_rect" : [ 181.0, 306.0, 46.0, 17.0 ],
"id" : "obj-131",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "onebang",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "bang", "bang" ],
"patching_rect" : [ 157.0, 327.0, 46.0, 17.0 ],
"id" : "obj-133",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "sel 0 1",
"numinlets" : 3,
"fontsize" : 9.0,
"numoutlets" : 3,
"outlettype" : [ "bang", "bang", "" ],
"patching_rect" : [ 157.0, 282.0, 46.0, 17.0 ],
"id" : "obj-134",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "0",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 95.0, 328.0, 32.5, 15.0 ],
"id" : "obj-130",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "onebang",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "bang", "bang" ],
"patching_rect" : [ 92.0, 258.0, 46.0, 17.0 ],
"id" : "obj-128",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "onebang",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "bang", "bang" ],
"patching_rect" : [ 65.0, 276.0, 46.0, 17.0 ],
"id" : "obj-122",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "sel 0 1",
"numinlets" : 3,
"fontsize" : 9.0,
"numoutlets" : 3,
"outlettype" : [ "bang", "bang", "" ],
"patching_rect" : [ 65.0, 234.0, 46.0, 17.0 ],
"id" : "obj-120",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "reset",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 47.0, 304.0, 32.5, 15.0 ],
"id" : "obj-119",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "toggle",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 170.0, 260.0, 20.0, 20.0 ],
"id" : "obj-117",
"parameter_enable" : 0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "< 3000",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 158.0, 241.0, 38.0, 17.0 ],
"id" : "obj-116",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "number",
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "int", "bang" ],
"patching_rect" : [ 29.0, 356.0, 50.0, 17.0 ],
"id" : "obj-115",
"fontname" : "Arial",
"parameter_enable" : 0
}

}
, {
"box" : {
"maxclass" : "toggle",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 29.0, 208.0, 20.0, 20.0 ],
"id" : "obj-114",
"parameter_enable" : 0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "< 5",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 28.0, 148.0, 32.5, 17.0 ],
"id" : "obj-113",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "clocker 1000",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "float" ],
"patching_rect" : [ 29.0, 327.0, 62.0, 17.0 ],
"id" : "obj-112",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "slide 10. 10.",
"numinlets" : 3,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "float" ],
"patching_rect" : [ 28.666626, 79.0, 59.0, 17.0 ],
"id" : "obj-91",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "multislider",
"numinlets" : 1,
"numoutlets" : 2,
"setminmax" : [ 0.0, 25.0 ],
"outlettype" : [ "", "" ],
"patching_rect" : [ 77.666626, 142.0, 157.0, 91.0 ],
"id" : "obj-90",
"parameter_enable" : 0,
"setstyle" : 3
}

}
, {
"box" : {
"maxclass" : "flonum",
"numinlets" : 1,
"triscale" : 0.9,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "float", "bang" ],
"patching_rect" : [ 55.666626, 119.0, 38.0, 17.0 ],
"id" : "obj-89",
"fontname" : "Arial",
"parameter_enable" : 0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "unpack 0. 0. 0. 0.",
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 4,
"outlettype" : [ "float", "float", "float", "float" ],
"patching_rect" : [ 28.666626, 57.0, 86.0, 17.0 ],
"id" : "obj-88",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.3m",
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 4,
"outlettype" : [ "", "", "", "" ],
"patching_rect" : [ 15.0, 33.0, 59.5, 17.0 ],
"id" : "obj-87",
"fontname" : "Arial"
}

}
],
"lines" : [ {
"patchline" : {
"source" : [ "obj-99", 0 ],
"destination" : [ "obj-98", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-99", 0 ],
"destination" : [ "obj-75", 1 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-99", 1 ],
"destination" : [ "obj-75", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-98", 0 ],
"destination" : [ "obj-135", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-98", 0 ],
"destination" : [ "obj-111", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-91", 0 ],
"destination" : [ "obj-147", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-91", 0 ],
"destination" : [ "obj-113", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-89", 0 ],
"destination" : [ "obj-90", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-88", 0 ],
"destination" : [ "obj-91", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-87", 1 ],
"destination" : [ "obj-88", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-75", 0 ],
"destination" : [ "obj-98", 1 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-73", 0 ],
"destination" : [ "obj-66", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-73", 0 ],
"destination" : [ "obj-62", 1 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-73", 1 ],
"destination" : [ "obj-62", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-66", 0 ],
"destination" : [ "obj-135", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-66", 0 ],
"destination" : [ "obj-111", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-62", 0 ],
"destination" : [ "obj-66", 1 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-60", 0 ],
"destination" : [ "obj-59", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-60", 0 ],
"destination" : [ "obj-58", 1 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-60", 1 ],
"destination" : [ "obj-58", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-59", 0 ],
"destination" : [ "obj-135", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-58", 0 ],
"destination" : [ "obj-59", 1 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-56", 0 ],
"destination" : [ "obj-55", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-56", 0 ],
"destination" : [ "obj-54", 1 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-56", 1 ],
"destination" : [ "obj-54", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-55", 0 ],
"destination" : [ "obj-135", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-54", 0 ],
"destination" : [ "obj-55", 1 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-51", 0 ],
"destination" : [ "obj-100", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-49", 0 ],
"destination" : [ "obj-74", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-47", 0 ],
"destination" : [ "obj-61", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-33", 0 ],
"destination" : [ "obj-57", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-147", 0 ],
"destination" : [ "obj-89", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-134", 0 ],
"destination" : [ "obj-133", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-134", 0 ],
"destination" : [ "obj-131", 1 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-134", 1 ],
"destination" : [ "obj-131", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-133", 0 ],
"destination" : [ "obj-135", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-131", 0 ],
"destination" : [ "obj-133", 1 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-130", 0 ],
"destination" : [ "obj-115", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-128", 0 ],
"destination" : [ "obj-122", 1 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-122", 0 ],
"destination" : [ "obj-130", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-122", 0 ],
"destination" : [ "obj-119", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-120", 0 ],
"destination" : [ "obj-128", 1 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-120", 1 ],
"destination" : [ "obj-128", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-120", 0 ],
"destination" : [ "obj-122", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-119", 0 ],
"destination" : [ "obj-112", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-116", 0 ],
"destination" : [ "obj-134", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-116", 0 ],
"destination" : [ "obj-117", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-115", 0 ],
"destination" : [ "obj-51", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-115", 0 ],
"destination" : [ "obj-49", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-115", 0 ],
"destination" : [ "obj-47", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-115", 0 ],
"destination" : [ "obj-33", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-115", 0 ],
"destination" : [ "obj-116", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-114", 0 ],
"destination" : [ "obj-120", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-114", 0 ],
"destination" : [ "obj-112", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-113", 0 ],
"destination" : [ "obj-114", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-112", 0 ],
"destination" : [ "obj-115", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
, {
"patchline" : {
"source" : [ "obj-111", 0 ],
"destination" : [ "obj-114", 0 ],
"hidden" : 0,
"disabled" : 0
}

}
]
}
,
"saved_object_attributes" : {
"default_fontface" : 0,
"default_fontname" : "Arial",
"default_fontsize" : 12.0,
"description" : "",
"digest" : "",
"fontface" : 0,
"fontname" : "Arial",
"fontsize" : 12.0,
"globalpatchername" : "",
"tags" : ""
}

}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "Frame substraction based motion detection",
"linecount" : 2,
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 0,
"patching_rect" : [ 924.0, 167.0, 150.0, 27.0 ],
"frgb" : 0.0,
"id" : "obj-156",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "SPACEBAR CLEARS DRAWING",
"linecount" : 3,
"numinlets" : 1,
"fontsize" : 18.0,
"numoutlets" : 0,
"patching_rect" : [ 178.0, 367.0, 110.0, 67.0 ],
"frgb" : 0.0,
"id" : "obj-121",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "Change interpbits for smoother drawing",
"linecount" : 2,
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 0,
"patching_rect" : [ 734.0, 148.0, 95.0, 27.0 ],
"frgb" : 0.0,
"id" : "obj-50",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "Change drawing color",
"numinlets" : 1,
"fontsize" : 13.0,
"numoutlets" : 0,
"patching_rect" : [ 361.0, 395.0, 135.0, 21.0 ],
"frgb" : 0.0,
"id" : "obj-48",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "Set luminance threshold",
"linecount" : 2,
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 0,
"patching_rect" : [ 368.0, 119.0, 69.0, 27.0 ],
"frgb" : 0.0,
"id" : "obj-46",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "comment",
"text" : "TO START: Start metro and ‘open’ your iSight camera or webcam",
"linecount" : 4,
"numinlets" : 1,
"fontsize" : 18.0,
"numoutlets" : 0,
"patching_rect" : [ 13.0, 14.0, 164.0, 87.0 ],
"frgb" : 0.0,
"id" : "obj-45",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "scale 0 127 1. 0.",
"numinlets" : 6,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 593.0, 207.0, 86.5, 17.0 ],
"id" : "obj-32",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "slider",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 572.0, 186.0, 127.0, 19.0 ],
"id" : "obj-31",
"parameter_enable" : 0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "xfade $1",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 595.0, 226.0, 45.0, 15.0 ],
"id" : "obj-30",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "jit.xfade",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 583.0, 255.0, 42.0, 17.0 ],
"id" : "obj-5",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "loadmess 1",
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 752.0, 181.0, 57.0, 17.0 ],
"id" : "obj-94",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "r interpbits",
"numinlets" : 0,
"color" : [ 0.211765, 0.133333, 0.066667, 1.0 ],
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 61.0, 378.0, 53.0, 17.0 ],
"id" : "obj-79",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "number",
"numinlets" : 1,
"triscale" : 0.9,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "int", "bang" ],
"patching_rect" : [ 752.0, 198.0, 48.0, 17.0 ],
"id" : "obj-67",
"fontname" : "Arial",
"parameter_enable" : 0
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "interpbits $1",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 752.0, 222.0, 58.0, 15.0 ],
"id" : "obj-71",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "s interpbits",
"numinlets" : 1,
"color" : [ 0.211765, 0.133333, 0.066667, 1.0 ],
"fontsize" : 9.0,
"numoutlets" : 0,
"patching_rect" : [ 752.0, 241.0, 54.0, 17.0 ],
"id" : "obj-65",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "r drawsend2",
"numinlets" : 0,
"color" : [ 0.145098, 0.07451, 0.376471, 1.0 ],
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 553.0, 111.0, 60.0, 17.0 ],
"id" : "obj-64",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "s drawsend2",
"numinlets" : 1,
"color" : [ 0.145098, 0.07451, 0.376471, 1.0 ],
"fontsize" : 9.0,
"numoutlets" : 0,
"patching_rect" : [ 294.0, 407.0, 62.0, 17.0 ],
"id" : "obj-63",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "patcher color change",
"numinlets" : 1,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 347.0, 315.0, 102.0, 17.0 ],
"id" : "obj-43",
"fontname" : "Arial",
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 6,
"minor" : 0,
"revision" : 7
}
,
"rect" : [ 339.0, 50.0, 600.0, 426.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 9.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 0,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 0,
"statusbarvisible" : 2,
"toolbarvisible" : 1,
"boxanimatetime" : 200,
"imprint" : 0,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"description" : "",
"digest" : "",
"tags" : "",
"boxes" : [ {
"box" : {
"maxclass" : "newobj",
"text" : "r leftmot",
"numinlets" : 0,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 315.0, 54.0, 43.0, 17.0 ],
"id" : "obj-39",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "speedlim 1500",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 263.0, 82.0, 69.0, 17.0 ],
"id" : "obj-38",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 263.0, 108.0, 20.0, 20.0 ],
"id" : "obj-36"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "r rightmot",
"numinlets" : 0,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 263.0, 56.0, 49.0, 17.0 ],
"id" : "obj-35",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "r randomcolor",
"numinlets" : 0,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 144.0, 136.0, 74.0, 17.0 ],
"id" : "obj-1",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "255 255 255",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 98.0, 162.0, 70.0, 15.0 ],
"id" : "obj-2",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "r normal",
"numinlets" : 0,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 55.0, 105.0, 49.0, 17.0 ],
"id" : "obj-3",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 68.0, 162.0, 15.0, 15.0 ],
"id" : "obj-4"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "r tomfoolery",
"numinlets" : 0,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 63.0, 135.0, 68.0, 17.0 ],
"id" : "obj-5",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "number",
"bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ],
"numinlets" : 1,
"triscale" : 0.9,
"fontsize" : 9.0,
"htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ],
"numoutlets" : 2,
"outlettype" : [ "int", "bang" ],
"patching_rect" : [ 366.0, 178.0, 35.0, 17.0 ],
"id" : "obj-6",
"fontname" : "Arial",
"parameter_enable" : 0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "select 122",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "bang", "" ],
"patching_rect" : [ 118.0, 55.0, 55.0, 17.0 ],
"id" : "obj-7",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "select 122",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "bang", "" ],
"patching_rect" : [ 54.0, 56.0, 55.0, 17.0 ],
"id" : "obj-8",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "0",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 125.0, 79.0, 16.0, 15.0 ],
"id" : "obj-9",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "keyup",
"numinlets" : 0,
"fontsize" : 9.0,
"numoutlets" : 4,
"outlettype" : [ "int", "int", "int", "int" ],
"patching_rect" : [ 115.0, 30.0, 40.0, 17.0 ],
"id" : "obj-10",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "1",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 72.0, 79.0, 16.0, 15.0 ],
"id" : "obj-11",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "gswitch2",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 174.0, 95.0, 39.0, 32.0 ],
"id" : "obj-12",
"parameter_enable" : 0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "random 6",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 288.0, 174.0, 51.0, 17.0 ],
"id" : "obj-13",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "select 0 1 2 3 4 5",
"numinlets" : 7,
"fontsize" : 9.0,
"numoutlets" : 7,
"outlettype" : [ "bang", "bang", "bang", "bang", "bang", "bang", "" ],
"patching_rect" : [ 288.0, 198.0, 92.0, 17.0 ],
"id" : "obj-14",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "0 85 160",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 288.0, 226.0, 52.0, 15.0 ],
"id" : "obj-15",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "54 133 255",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 287.0, 248.0, 63.0, 15.0 ],
"id" : "obj-16",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "24 22 255",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 288.0, 268.0, 56.0, 15.0 ],
"id" : "obj-17",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "0 62 208",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 288.0, 289.0, 57.0, 15.0 ],
"id" : "obj-18",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "56 54 255",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 285.0, 327.0, 60.0, 15.0 ],
"id" : "obj-19",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "message",
"text" : "7 0 224",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 287.0, 308.0, 46.0, 15.0 ],
"id" : "obj-20",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 203.0, 62.0, 15.0, 15.0 ],
"id" : "obj-21",
"comment" : ""
}

}
, {
"box" : {
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 56.0, 357.0, 15.0, 15.0 ],
"id" : "obj-22",
"comment" : ""
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "pack i i i",
"numinlets" : 3,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 57.0, 328.0, 139.0, 17.0 ],
"id" : "obj-23",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "line 100",
"numinlets" : 3,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 185.0, 309.0, 45.0, 17.0 ],
"id" : "obj-24",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "line 100",
"numinlets" : 3,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 121.0, 309.0, 45.0, 17.0 ],
"id" : "obj-25",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "line 100",
"numinlets" : 3,
"fontsize" : 9.0,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 57.0, 309.0, 45.0, 17.0 ],
"id" : "obj-26",
"fontname" : "Arial"
}

}
, {
"box" : {
"maxclass" : "toggle",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 35.0, 199.0, 15.0, 15.0 ],
"id" : "obj-27",
"parameter_enable" : 0
}

}
, {
"box" : {
"maxclass" : "newobj",
"text" : "metro 900",
"numinlets" : 2,
"fontsize" : 9.0,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 198.0, 237.0, 55.0, 17.0 ],
"id" : "obj-28",
"fontname" : "A


May 7, 2013 | 1:27 pm

That might be a lot of code…I dont think the back kick thing worked.


Viewing 2 posts - 1 through 2 (of 2 total)