{ "patcher": { "fileversion": 1, "appversion": { "major": 9, "minor": 1, "revision": 1, "architecture": "x64", "modernui": 1 }, "classnamespace": "box", "rect": [ 59.0, 106.0, 1000.0, 659.0 ], "boxes": [ { "box": { "id": "obj-38", "maxclass": "newobj", "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 59.0, 136.0, 80.0, 22.0 ], "text": "loadmess 0.8" } }, { "box": { "format": 6, "id": "obj-37", "maxclass": "flonum", "numinlets": 1, "numoutlets": 2, "outlettype": [ "", "bang" ], "parameter_enable": 0, "patching_rect": [ 59.0, 173.0, 50.0, 22.0 ] } }, { "box": { "id": "obj-35", "maxclass": "message", "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 59.0, 208.0, 113.0, 22.0 ], "text": "max_line_length $1" } }, { "box": { "id": "obj-33", "maxclass": "newobj", "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 59.0, 240.0, 90.0, 22.0 ], "text": "prepend param" } }, { "box": { "id": "obj-32", "maxclass": "newobj", "numinlets": 0, "numoutlets": 1, "outlettype": [ "jit_matrix" ], "patcher": { "fileversion": 1, "appversion": { "major": 9, "minor": 1, "revision": 1, "architecture": "x64", "modernui": 1 }, "classnamespace": "box", "rect": [ 109.0, 169.0, 1000.0, 780.0 ], "boxes": [ { "box": { "id": "obj-30", "maxclass": "newobj", "numinlets": 2, "numoutlets": 2, "outlettype": [ "jit_matrix", "" ], "patching_rect": [ 81.59375, 201.0, 69.0, 22.0 ], "text": "jit.* @val 6." } }, { "box": { "id": "obj-29", "maxclass": "newobj", "numinlets": 1, "numoutlets": 2, "outlettype": [ "", "" ], "patching_rect": [ 119.59375, 252.0, 47.0, 22.0 ], "text": "jit.bang" } }, { "box": { "id": "obj-25", "maxclass": "newobj", "numinlets": 2, "numoutlets": 2, "outlettype": [ "jit_matrix", "" ], "patching_rect": [ 130.59375, 504.0, 96.0, 22.0 ], "text": "jit.* @val 0. 1. 0." } }, { "box": { "id": "obj-24", "maxclass": "newobj", "numinlets": 1, "numoutlets": 1, "outlettype": [ "bang" ], "patching_rect": [ 248.59375, 307.0, 58.0, 22.0 ], "text": "loadbang" } }, { "box": { "id": "obj-23", "maxclass": "newobj", "numinlets": 2, "numoutlets": 2, "outlettype": [ "jit_matrix", "" ], "patching_rect": [ 81.59375, 543.0, 68.0, 22.0 ], "text": "jit.multiplex" } }, { "box": { "id": "obj-22", "maxclass": "newobj", "numinlets": 1, "numoutlets": 2, "outlettype": [ "jit_matrix", "" ], "patching_rect": [ 248.59375, 398.0, 119.0, 22.0 ], "text": "jit.matrix 1 float32 30" } }, { "box": { "id": "obj-21", "maxclass": "newobj", "numinlets": 3, "numoutlets": 2, "outlettype": [ "jit_matrix", "" ], "patching_rect": [ 81.59375, 462.0, 56.0, 22.0 ], "text": "jit.pack 3" } }, { "box": { "id": "obj-20", "maxclass": "newobj", "numinlets": 2, "numoutlets": 2, "outlettype": [ "jit_matrix", "" ], "patching_rect": [ 81.59375, 372.0, 85.0, 22.0 ], "text": "jit.+ @val 0.01" } }, { "box": { "id": "obj-19", "maxclass": "newobj", "numinlets": 1, "numoutlets": 2, "outlettype": [ "", "" ], "patching_rect": [ 81.59375, 335.0, 155.0, 22.0 ], "text": "t l l" } }, { "box": { "id": "obj-18", "maxclass": "newobj", "numinlets": 1, "numoutlets": 2, "outlettype": [ "jit_matrix", "" ], "patching_rect": [ 81.59375, 292.0, 165.0, 22.0 ], "text": "jit.matrix 1 float32 30 @thru 0" } }, { "box": { "id": "obj-9", "maxclass": "message", "numinlets": 2, "numoutlets": 1, "outlettype": [ "" ], "patching_rect": [ 248.59375, 341.0, 137.0, 22.0 ], "text": "exprfill 0 snorm[0], bang" } }, { "box": { "id": "obj-17", "maxclass": "newobj", "numinlets": 2, "numoutlets": 2, "outlettype": [ "jit_matrix", "" ], "patching_rect": [ 81.59375, 421.0, 36.0, 22.0 ], "text": "jit.sin" } }, { "box": { "id": "obj-6", "maxclass": "newobj", "numinlets": 1, "numoutlets": 1, "outlettype": [ "bang" ], "patching_rect": [ 81.59375, 100.0, 58.0, 22.0 ], "text": "loadbang" } }, { "box": { "id": "obj-5", "maxclass": "newobj", "numinlets": 1, "numoutlets": 2, "outlettype": [ "jit_matrix", "" ], "patching_rect": [ 81.59375, 162.0, 115.0, 22.0 ], "text": "jit.noise 1 float32 30" } }, { "box": { "comment": "", "id": "obj-31", "index": 1, "maxclass": "outlet", "numinlets": 1, "numoutlets": 0, "patching_rect": [ 81.59375, 625.0, 30.0, 30.0 ] } } ], "lines": [ { "patchline": { "destination": [ "obj-21", 0 ], "source": [ "obj-17", 0 ] } }, { "patchline": { "destination": [ "obj-19", 0 ], "source": [ "obj-18", 0 ] } }, { "patchline": { "destination": [ "obj-20", 0 ], "source": [ "obj-19", 0 ] } }, { "patchline": { "destination": [ "obj-17", 0 ], "order": 0, "source": [ "obj-20", 0 ] } }, { "patchline": { "destination": [ "obj-18", 0 ], "midpoints": [ 91.09375, 406.0703125, 52.0, 406.0703125, 52.0, 268.15234375, 91.09375, 268.15234375 ], "order": 1, "source": [ "obj-20", 0 ] } }, { "patchline": { "destination": [ "obj-23", 0 ], "order": 1, "source": [ "obj-21", 0 ] } }, { "patchline": { "destination": [ "obj-25", 0 ], "order": 0, "source": [ "obj-21", 0 ] } }, { "patchline": { "destination": [ "obj-21", 1 ], "source": [ "obj-22", 0 ] } }, { "patchline": { "destination": [ "obj-31", 0 ], "source": [ "obj-23", 0 ] } }, { "patchline": { "destination": [ "obj-9", 0 ], "source": [ "obj-24", 0 ] } }, { "patchline": { "destination": [ "obj-23", 1 ], "source": [ "obj-25", 0 ] } }, { "patchline": { "destination": [ "obj-18", 0 ], "source": [ "obj-29", 0 ] } }, { "patchline": { "destination": [ "obj-18", 0 ], "source": [ "obj-30", 0 ] } }, { "patchline": { "destination": [ "obj-30", 0 ], "source": [ "obj-5", 0 ] } }, { "patchline": { "destination": [ "obj-5", 0 ], "source": [ "obj-6", 0 ] } }, { "patchline": { "destination": [ "obj-22", 0 ], "source": [ "obj-9", 0 ] } } ] }, "patching_rect": [ 390.0, 232.0, 79.0, 22.0 ], "text": "p some_lines" } }, { "box": { "filename": "none", "id": "obj-11", "maxclass": "newobj", "numinlets": 1, "numoutlets": 2, "outlettype": [ "", "" ], "patching_rect": [ 59.0, 276.0, 233.0, 22.0 ], "text": "jit.gl.shader @name fadeLines @embed 1", "textfile": { "text": "\n\tDefault Shader \n\t\n \n\t\n\t\n \n\t\n\t\t\n \n\t\t\n\t\t\n \n\t\t\n\n\t\t\n\n max_line_length) return;\n\n //set the line's transparency as a function of the its length\n float alpha = 1 - dist/max_line_length;\n\n //draw the line;\n\tgl_Position = VP * gl_in[0].gl_Position; \n\tcolor = vec4(jit_in[0].color.rgb, alpha);\n\tEmitVertex();\n\n\tgl_Position = VP * gl_in[1].gl_Position; \n\tcolor = vec4(jit_in[1].color.rgb, alpha);\n\tEmitVertex();\n\t\n\tEndPrimitive();\n}\n]]>\n\t\t\n\t\t\n\n\t\t\n\t\n\n", "filename": "none", "flags": 1, "embed": 1, "autowatch": 1 } } }, { "box": { "id": "obj-10", "maxclass": "newobj", "numinlets": 9, "numoutlets": 2, "outlettype": [ "", "" ], "patching_rect": [ 390.0, 280.0, 471.0, 22.0 ], "text": "jit.gl.mesh @draw_mode lines @shader fadeLines @gl_color 1 1 1 1 @blend_enable 1" } }, { "box": { "id": "obj-1", "maxclass": "newobj", "numinlets": 1, "numoutlets": 3, "outlettype": [ "jit_matrix", "bang", "" ], "patching_rect": [ 17.0, 59.0, 315.0, 22.0 ], "text": "jit.world @floating 1 @size 960 540 @erase_color 0 0 0 0" } }, { "box": { "attr": "enable", "id": "obj-4", "maxclass": "attrui", "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], "parameter_enable": 0, "patching_rect": [ 17.0, 29.0, 150.0, 22.0 ] } }, { "box": { "attr": "line_width", "id": "obj-2", "maxclass": "attrui", "numinlets": 1, "numoutlets": 1, "outlettype": [ "" ], "parameter_enable": 0, "patching_rect": [ 603.0, 186.0, 150.0, 22.0 ] } } ], "lines": [ { "patchline": { "destination": [ "obj-10", 0 ], "midpoints": [ 612.5, 265.0, 399.5, 265.0 ], "source": [ "obj-2", 0 ] } }, { "patchline": { "destination": [ "obj-10", 0 ], "source": [ "obj-32", 0 ] } }, { "patchline": { "destination": [ "obj-11", 0 ], "source": [ "obj-33", 0 ] } }, { "patchline": { "destination": [ "obj-33", 0 ], "source": [ "obj-35", 0 ] } }, { "patchline": { "destination": [ "obj-35", 0 ], "source": [ "obj-37", 0 ] } }, { "patchline": { "destination": [ "obj-37", 0 ], "source": [ "obj-38", 0 ] } }, { "patchline": { "destination": [ "obj-1", 0 ], "source": [ "obj-4", 0 ] } } ], "autosave": 0 } }