{ "patcher" : { "fileversion" : 1, "appversion" : { "major" : 6, "minor" : 0, "revision" : 7 } , "rect" : [ 11.0, 44.0, 1280.0, 930.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" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-136", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 4, "outlettype" : [ "int", "int", "int", "int" ], "patching_rect" : [ 1085.0, 611.0, 129.0, 20.0 ], "text" : "unpack 0 0 1280 1024" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-135", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 1085.0, 548.0, 60.0, 20.0 ], "text" : "loadbang" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-134", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "list", "list" ], "patching_rect" : [ 1085.0, 584.0, 68.0, 20.0 ], "text" : "screensize" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-132", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 815.5, 529.0, 32.5, 18.0 ], "text" : "1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-130", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 784.0, 502.0, 48.0, 20.0 ], "text" : "cycle 2" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-129", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 822.0, 590.0, 32.5, 18.0 ], "text" : "0" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-127", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 789.5, 590.0, 32.5, 18.0 ], "text" : "1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-111", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 784.0, 529.0, 32.5, 18.0 ], "text" : "0" } } , { "box" : { "fontname" : "Arial", "fontsize" : 13.0, "id" : "obj-105", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 4, "outlettype" : [ "int", "int", "int", "int" ], "patching_rect" : [ 784.0, 445.0, 64.0, 21.0 ], "text" : "key" } } , { "box" : { "fontname" : "Arial", "fontsize" : 13.0, "id" : "obj-106", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "bang", "" ], "patching_rect" : [ 784.0, 473.643677, 64.0, 21.0 ], "text" : "select 32" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-103", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 789.5, 641.0, 58.0, 20.0 ], "text" : "metro 10" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-102", "maxclass" : "flonum", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "float", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 861.0, 674.0, 50.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-101", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 861.0, 641.0, 143.0, 20.0 ], "text" : "expr (($i2/2.)-$i1)/($i2/4.)" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-99", "maxclass" : "flonum", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "float", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 973.0, 674.0, 50.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-94", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 1033.5, 641.0, 143.0, 20.0 ], "text" : "expr (($i2/2.)-$i1)/($i2/4.)" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-89", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 870.0, 732.0, 51.0, 20.0 ], "text" : "s rotate" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-66", "maxclass" : "newobj", "numinlets" : 4, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 870.0, 703.0, 122.0, 20.0 ], "text" : "pak rotatexyz 0. 0. 0." } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-65", "maxclass" : "newobj", "numinlets" : 3, "numoutlets" : 3, "outlettype" : [ "bang", "bang", "" ], "patching_rect" : [ 854.5, 541.0, 46.0, 20.0 ], "text" : "sel 1 0" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-64", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 962.5, 586.0, 43.0, 18.0 ], "text" : "nopoll" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-63", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 910.0, 586.0, 32.5, 18.0 ], "text" : "poll" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-61", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "int" ], "patching_rect" : [ 890.5, 515.0, 42.0, 20.0 ], "text" : "active" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-60", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 921.5, 337.0, 61.0, 20.0 ], "text" : "s position" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-59", "maxclass" : "newobj", "numinlets" : 4, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 928.5, 300.0, 115.0, 20.0 ], "text" : "pak position 0. 0. 0." } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-58", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 5, "outlettype" : [ "int", "int", "int", "int", "int" ], "patching_rect" : [ 928.5, 611.0, 73.0, 20.0 ], "text" : "mousestate" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-43", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 1003.5, 230.0, 32.5, 18.0 ], "text" : "0.1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-45", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 1003.5, 201.0, 58.0, 20.0 ], "text" : "metro 10" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-46", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 969.5, 230.0, 32.5, 18.0 ], "text" : "-0.1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-47", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 969.5, 201.0, 58.0, 20.0 ], "text" : "metro 10" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-36", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 944.5, 230.0, 32.5, 18.0 ], "text" : "0.1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-37", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 944.5, 201.0, 58.0, 20.0 ], "text" : "metro 10" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-34", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 910.5, 230.0, 32.5, 18.0 ], "text" : "-0.1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-32", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 909.5, 95.0, 102.0, 20.0 ], "text" : "left right up down" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-26", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 1135.5, 152.0, 32.0, 18.0 ], "presentation_rect" : [ 1059.0, 412.0, 0.0, 0.0 ], "text" : "0" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-28", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 1104.5, 152.0, 32.0, 18.0 ], "presentation_rect" : [ 1028.0, 412.0, 0.0, 0.0 ], "text" : "0" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-29", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 1073.5, 152.0, 32.0, 18.0 ], "presentation_rect" : [ 997.0, 412.0, 0.0, 0.0 ], "text" : "0" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-30", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 1042.5, 152.0, 32.5, 18.0 ], "presentation_rect" : [ 966.0, 412.0, 0.0, 0.0 ], "text" : "0" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-25", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 1003.5, 152.0, 32.0, 18.0 ], "text" : "1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-24", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 972.5, 152.0, 32.0, 18.0 ], "text" : "1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-23", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 941.5, 152.0, 32.0, 18.0 ], "text" : "1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-22", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 910.5, 152.0, 32.5, 18.0 ], "text" : "1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-19", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 910.5, 201.0, 58.0, 20.0 ], "text" : "metro 10" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-17", "maxclass" : "number", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 1019.0, 73.0, 50.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-16", "maxclass" : "newobj", "numinlets" : 5, "numoutlets" : 5, "outlettype" : [ "bang", "bang", "bang", "bang", "" ], "patching_rect" : [ 1033.5, 119.0, 93.0, 20.0 ], "text" : "sel 28 29 30 31" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-12", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 4, "outlettype" : [ "int", "int", "int", "int" ], "patching_rect" : [ 979.0, 36.0, 59.5, 20.0 ], "text" : "keyup" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-9", "maxclass" : "newobj", "numinlets" : 5, "numoutlets" : 5, "outlettype" : [ "bang", "bang", "bang", "bang", "" ], "patching_rect" : [ 909.5, 119.0, 93.0, 20.0 ], "text" : "sel 28 29 30 31" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-6", "maxclass" : "number", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 963.5, 73.0, 50.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-1", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 4, "outlettype" : [ "int", "int", "int", "int" ], "patching_rect" : [ 919.5, 36.0, 59.5, 20.0 ], "text" : "key" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-52", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], "patching_rect" : [ 357.5, 365.0, 79.0, 20.0 ], "text" : "jit.matrix boo" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-44", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 423.5, 331.5, 32.5, 20.0 ], "text" : "t l l" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-42", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], "patching_rect" : [ 174.0, 307.0, 79.0, 20.0 ], "text" : "jit.matrix boo" } } , { "box" : { "id" : "obj-35", "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 46.0, 224.0, 20.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-83", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 451.0, 273.5, 49.0, 20.0 ], "text" : "r rotate" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-49", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 385.0, 273.5, 59.0, 20.0 ], "text" : "r position" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-3", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 395.0, 182.0, 300.0, 33.0 ], "text" : "Useful for obtaining a matrix with the relative positions of objects to the camera's position and orientation." } } , { "box" : { "fontname" : "Arial", "fontsize" : 18.0, "frgb" : 0.0, "id" : "obj-18", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 145.0, 75.0, 76.0, 27.0 ], "text" : "Initialize" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-15", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "patching_rect" : [ 75.0, 115.0, 34.0, 20.0 ], "text" : "t 1 b" } } , { "box" : { "id" : "obj-13", "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 75.0, 55.0, 60.0, 60.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 13.0, "id" : "obj-5", "linecount" : 3, "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], "patching_rect" : [ 385.0, 52.0, 322.0, 50.0 ], "text" : "jit.gl.gridshape r2 @shape sphere @lighting_enable 1 @blend_enable 1 @smooth_shading 1 @automatic 0 @depth_enable 1 @dim 24 24 @name o2" } } , { "box" : { "fontname" : "Arial", "fontsize" : 18.0, "frgb" : 0.0, "id" : "obj-27", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 395.0, 122.0, 269.0, 48.0 ], "text" : "render context 2:\nmatrix translation and rotation" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-2", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 473.5, 307.0, 190.0, 33.0 ], "text" : "translation and rotation matrix transformation done inside jit.gen" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-100", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_gl_texture", "" ], "patching_rect" : [ 385.0, 232.0, 290.0, 20.0 ], "text" : "jit.gl.camera r2 @position 0. 0. 0. @rotatexyz 0. 0. 0." } } , { "box" : { "fontname" : "Arial", "fontsize" : 13.0, "id" : "obj-97", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "bang", "" ], "patching_rect" : [ 75.0, 307.0, 90.0, 21.0 ], "text" : "jit.gl.render r2" } } , { "box" : { "id" : "obj-96", "maxclass" : "jit.pwindow", "name" : "r2", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 274.5, 401.143677, 320.0, 240.0 ], "presentation_rect" : [ 135.0, 135.0, 240.0, 180.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 13.0, "id" : "obj-95", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 437.0, 365.0, 317.0, 21.0 ], "text" : "jit.gl.multiple r2 @targetname o2 @glparams position" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-74", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], "patcher" : { "fileversion" : 1, "appversion" : { "major" : 6, "minor" : 0, "revision" : 7 } , "rect" : [ 217.0, 286.0, 657.0, 533.0 ], "bgcolor" : [ 0.9, 0.9, 0.9, 1.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 0, "gridsize" : [ 10.0, 10.0 ], "gridsnaponopen" : 0, "statusbarvisible" : 2, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "description" : "", "digest" : "", "tags" : "", "boxes" : [ { "box" : { "code" : "ry1 = (in1.x * cos(in2.y)) + (in1.z * sin(in2.y));\r\nry2 = in1.y;\r\nry3 = (in1.x * -sin(in2.y)) + (in1.z * cos(in2.y));\r\nout1 = vec(ry1, ry2, ry3);", "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-2", "maxclass" : "codebox", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 20.0, 110.0, 390.0, 100.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-19", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 420.0, 380.0, 65.0, 20.0 ], "text" : "X rotation" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-15", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 420.0, 240.0, 65.0, 20.0 ], "text" : "Z rotation" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-9", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 490.0, 20.0, 137.0, 20.0 ], "text" : "param rotatexyz 0. 0. 0." } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-24", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 70.0, 70.0, 66.0, 20.0 ], "text" : "translation" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-30", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 20.0, 70.0, 32.5, 20.0 ], "text" : "-" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "frgb" : 0.0, "id" : "obj-29", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 420.0, 110.0, 65.0, 20.0 ], "text" : "Y rotation" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-26", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 490.0, 76.0, 33.0, 20.0 ], "text" : "* -1." } } , { "box" : { "code" : "rx1 = in1.x;\r\nrx2 = (in1.y * cos(in2.x)) + (in1.z * -sin(in2.x));\r\nrx3 = (in1.y * sin(in2.x)) + (in1.z * cos(in2.x));\r\nout1 = vec(rx1, rx2, rx3);", "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-17", "maxclass" : "codebox", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 20.0, 370.0, 390.0, 100.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-10", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 490.0, 40.0, 50.0, 20.0 ], "text" : "radians" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-7", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 60.0, 20.0, 129.0, 20.0 ], "text" : "param position 0. 0. 0." } } , { "box" : { "code" : "rz1 = (in1.x * cos(in2.z)) + (in1.y * -sin(in2.z));\r\nrz2 = (in1.x * sin(in2.z)) + (in1.y * cos(in2.z));\r\nrz3 = in1.z;\r\nout1 = vec(rz1, rz2, rz3);", "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-5", "maxclass" : "codebox", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 20.0, 240.0, 390.0, 100.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-1", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 20.0, 20.0, 30.0, 20.0 ], "text" : "in 1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-4", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 20.0, 490.0, 37.0, 20.0 ], "text" : "out 1" } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-30", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-26", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-10", 0 ] } } , { "patchline" : { "destination" : [ "obj-4", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-17", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-2", 0 ] } } , { "patchline" : { "destination" : [ "obj-17", 1 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 499.5, 348.0, 400.5, 348.0 ], "source" : [ "obj-26", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-26", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 1 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 499.5, 225.0, 400.5, 225.0 ], "source" : [ "obj-26", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-30", 0 ] } } , { "patchline" : { "destination" : [ "obj-17", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-5", 0 ] } } , { "patchline" : { "destination" : [ "obj-30", 1 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 69.5, 53.0, 43.0, 53.0 ], "source" : [ "obj-7", 0 ] } } , { "patchline" : { "destination" : [ "obj-10", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-9", 0 ] } } ] } , "patching_rect" : [ 423.5, 307.0, 50.0, 20.0 ], "text" : "jit.gen" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-7", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], "patcher" : { "fileversion" : 1, "appversion" : { "major" : 6, "minor" : 0, "revision" : 7 } , "rect" : [ 484.0, 67.0, 600.0, 450.0 ], "bgcolor" : [ 0.9, 0.9, 0.9, 1.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" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-9", "maxclass" : "newobj", "numinlets" : 3, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 225.0, 149.0, 89.0, 20.0 ], "text" : "vec 20. 20. 20." } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-5", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 176.0, 240.0, 32.5, 20.0 ], "text" : "*" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-1", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 176.0, 30.0, 30.0, 20.0 ], "text" : "in 1" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 176.0, 149.0, 35.0, 20.0 ], "text" : "- 0.5" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-4", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 176.0, 418.0, 37.0, 20.0 ], "text" : "out 1" } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-3", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-3", 0 ] } } , { "patchline" : { "destination" : [ "obj-4", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-5", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-9", 0 ] } } ] } , "patching_rect" : [ 174.0, 186.0, 43.0, 20.0 ], "text" : "jit.gen" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-14", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], "patching_rect" : [ 174.0, 161.0, 134.0, 20.0 ], "text" : "jit.noise 3 float32 10 10" } } , { "box" : { "id" : "obj-8", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 75.0, 197.0, 20.0, 20.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 13.0, "id" : "obj-81", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 75.0, 217.0, 69.0, 21.0 ], "text" : "qmetro 20" } } , { "box" : { "fontname" : "Arial", "fontsize" : 13.0, "id" : "obj-82", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 4, "outlettype" : [ "bang", "bang", "bang", "erase" ], "patching_rect" : [ 75.0, 250.5, 83.0, 21.0 ], "text" : "t b b b erase" } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-6", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-9", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-102", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-101", 0 ] } } , { "patchline" : { "destination" : [ "obj-66", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-102", 0 ] } } , { "patchline" : { "destination" : [ "obj-102", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-103", 0 ] } } , { "patchline" : { "destination" : [ "obj-99", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-103", 0 ] } } , { "patchline" : { "destination" : [ "obj-106", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-105", 0 ] } } , { "patchline" : { "destination" : [ "obj-130", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-106", 0 ] } } , { "patchline" : { "destination" : [ "obj-65", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-111", 0 ] } } , { "patchline" : { "destination" : [ "obj-16", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-12", 0 ] } } , { "patchline" : { "destination" : [ "obj-17", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-12", 0 ] } } , { "patchline" : { "destination" : [ "obj-103", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-127", 0 ] } } , { "patchline" : { "destination" : [ "obj-103", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-129", 0 ] } } , { "patchline" : { "destination" : [ "obj-15", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-13", 0 ] } } , { "patchline" : { "destination" : [ "obj-111", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-130", 0 ] } } , { "patchline" : { "destination" : [ "obj-132", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-130", 1 ] } } , { "patchline" : { "destination" : [ "obj-65", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-132", 0 ] } } , { "patchline" : { "destination" : [ "obj-136", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-134", 0 ] } } , { "patchline" : { "destination" : [ "obj-134", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-135", 0 ] } } , { "patchline" : { "destination" : [ "obj-101", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-136", 3 ] } } , { "patchline" : { "destination" : [ "obj-94", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-136", 2 ] } } , { "patchline" : { "destination" : [ "obj-7", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-14", 0 ] } } , { "patchline" : { "destination" : [ "obj-14", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 99.5, 147.5, 183.5, 147.5 ], "source" : [ "obj-15", 1 ] } } , { "patchline" : { "destination" : [ "obj-8", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-15", 0 ] } } , { "patchline" : { "destination" : [ "obj-26", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-16", 3 ] } } , { "patchline" : { "destination" : [ "obj-28", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-16", 2 ] } } , { "patchline" : { "destination" : [ "obj-29", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-16", 1 ] } } , { "patchline" : { "destination" : [ "obj-30", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-16", 0 ] } } , { "patchline" : { "destination" : [ "obj-34", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-19", 0 ] } } , { "patchline" : { "destination" : [ "obj-19", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-22", 0 ] } } , { "patchline" : { "destination" : [ "obj-37", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-23", 0 ] } } , { "patchline" : { "destination" : [ "obj-47", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-24", 0 ] } } , { "patchline" : { "destination" : [ "obj-45", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-25", 0 ] } } , { "patchline" : { "destination" : [ "obj-45", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-26", 0 ] } } , { "patchline" : { "destination" : [ "obj-59", 3 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-26", 0 ] } } , { "patchline" : { "destination" : [ "obj-47", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-28", 0 ] } } , { "patchline" : { "destination" : [ "obj-59", 3 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-28", 0 ] } } , { "patchline" : { "destination" : [ "obj-37", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-29", 0 ] } } , { "patchline" : { "destination" : [ "obj-59", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-29", 0 ] } } , { "patchline" : { "destination" : [ "obj-19", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-30", 0 ] } } , { "patchline" : { "destination" : [ "obj-59", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-30", 0 ] } } , { "patchline" : { "destination" : [ "obj-59", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-34", 0 ] } } , { "patchline" : { "destination" : [ "obj-82", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-35", 0 ] } } , { "patchline" : { "destination" : [ "obj-59", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-36", 0 ] } } , { "patchline" : { "destination" : [ "obj-36", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-37", 0 ] } } , { "patchline" : { "destination" : [ "obj-74", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-42", 0 ] } } , { "patchline" : { "destination" : [ "obj-59", 3 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-43", 0 ] } } , { "patchline" : { "destination" : [ "obj-52", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-44", 0 ] } } , { "patchline" : { "destination" : [ "obj-95", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-44", 1 ] } } , { "patchline" : { "destination" : [ "obj-43", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-45", 0 ] } } , { "patchline" : { "destination" : [ "obj-59", 3 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-46", 0 ] } } , { "patchline" : { "destination" : [ "obj-46", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-47", 0 ] } } , { "patchline" : { "destination" : [ "obj-74", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-49", 0 ] } } , { "patchline" : { "destination" : [ "obj-101", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-58", 2 ] } } , { "patchline" : { "destination" : [ "obj-94", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-58", 1 ] } } , { "patchline" : { "destination" : [ "obj-60", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-59", 0 ] } } , { "patchline" : { "destination" : [ "obj-65", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-61", 0 ] } } , { "patchline" : { "destination" : [ "obj-58", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-63", 0 ] } } , { "patchline" : { "destination" : [ "obj-58", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-64", 0 ] } } , { "patchline" : { "destination" : [ "obj-127", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-65", 0 ] } } , { "patchline" : { "destination" : [ "obj-129", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-65", 1 ] } } , { "patchline" : { "destination" : [ "obj-63", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-65", 0 ] } } , { "patchline" : { "destination" : [ "obj-64", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-65", 1 ] } } , { "patchline" : { "destination" : [ "obj-89", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-66", 0 ] } } , { "patchline" : { "destination" : [ "obj-42", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-7", 0 ] } } , { "patchline" : { "destination" : [ "obj-44", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-74", 0 ] } } , { "patchline" : { "destination" : [ "obj-81", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-8", 0 ] } } , { "patchline" : { "destination" : [ "obj-82", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-81", 0 ] } } , { "patchline" : { "destination" : [ "obj-42", 0 ], "disabled" : 0, "hidden" : 0, "midpoints" : [ 105.833336, 282.0, 183.5, 297.0 ], "source" : [ "obj-82", 1 ] } } , { "patchline" : { "destination" : [ "obj-97", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-82", 3 ] } } , { "patchline" : { "destination" : [ "obj-97", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-82", 0 ] } } , { "patchline" : { "destination" : [ "obj-74", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-83", 0 ] } } , { "patchline" : { "destination" : [ "obj-22", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-9", 0 ] } } , { "patchline" : { "destination" : [ "obj-23", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-9", 1 ] } } , { "patchline" : { "destination" : [ "obj-24", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-9", 2 ] } } , { "patchline" : { "destination" : [ "obj-25", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-9", 3 ] } } , { "patchline" : { "destination" : [ "obj-99", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-94", 0 ] } } , { "patchline" : { "destination" : [ "obj-66", 2 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-99", 0 ] } } ], "dependency_cache" : [ ] } }