Max patches for displaying energy distribution of ambisonic signals as point clouds in OpenGL
Marlon Schumacher
07.07.24 8041897857c9e03ecdd647588c060884ec09e019
commit | author | age
9dafdb 1 {
MS 2     "patcher" :     {
3         "fileversion" : 1,
4         "appversion" :         {
5             "major" : 8,
804189 6             "minor" : 6,
MS 7             "revision" : 3,
9dafdb 8             "architecture" : "x64",
MS 9             "modernui" : 1
10         }
11 ,
12         "classnamespace" : "box",
804189 13         "rect" : [ 34.0, 143.0, 1647.0, 880.0 ],
9dafdb 14         "bglocked" : 0,
MS 15         "openinpresentation" : 0,
16         "default_fontsize" : 12.0,
17         "default_fontface" : 0,
18         "default_fontname" : "Arial",
19         "gridonopen" : 1,
20         "gridsize" : [ 15.0, 15.0 ],
21         "gridsnaponopen" : 1,
22         "objectsnaponopen" : 1,
23         "statusbarvisible" : 2,
24         "toolbarvisible" : 1,
25         "lefttoolbarpinned" : 0,
26         "toptoolbarpinned" : 0,
27         "righttoolbarpinned" : 0,
28         "bottomtoolbarpinned" : 0,
29         "toolbars_unpinned_last_save" : 0,
30         "tallnewobj" : 0,
31         "boxanimatetime" : 200,
32         "enablehscroll" : 1,
33         "enablevscroll" : 1,
34         "devicewidth" : 0.0,
35         "description" : "",
36         "digest" : "",
37         "tags" : "",
38         "style" : "",
39         "subpatcher_template" : "",
40         "assistshowspatchername" : 0,
41         "boxes" : [             {
42                 "box" :                 {
43                     "id" : "obj-62",
44                     "maxclass" : "newobj",
45                     "numinlets" : 0,
46                     "numoutlets" : 1,
47                     "outlettype" : [ "" ],
804189 48                     "patching_rect" : [ 502.0, 490.0, 71.0, 22.0 ],
MS 49                     "text" : "r color-lines"
50                 }
51
52             }
53 ,             {
54                 "box" :                 {
55                     "id" : "obj-59",
56                     "maxclass" : "newobj",
57                     "numinlets" : 0,
58                     "numoutlets" : 1,
59                     "outlettype" : [ "" ],
60                     "patching_rect" : [ 302.5, 651.063825130462646, 78.0, 22.0 ],
61                     "text" : "r color-points"
62                 }
63
64             }
65 ,             {
66                 "box" :                 {
67                     "id" : "obj-57",
68                     "maxclass" : "newobj",
69                     "numinlets" : 1,
70                     "numoutlets" : 0,
71                     "patching_rect" : [ 651.0, 704.0, 80.0, 22.0 ],
72                     "text" : "s color-points"
73                 }
74
75             }
76 ,             {
77                 "box" :                 {
78                     "format" : 6,
79                     "id" : "obj-51",
80                     "maxclass" : "flonum",
81                     "numinlets" : 1,
82                     "numoutlets" : 2,
83                     "outlettype" : [ "", "bang" ],
84                     "parameter_enable" : 0,
85                     "patching_rect" : [ 385.324179232120514, 447.169832110404968, 50.0, 22.0 ]
86                 }
87
88             }
89 ,             {
90                 "box" :                 {
91                     "id" : "obj-56",
92                     "maxclass" : "message",
93                     "numinlets" : 2,
94                     "numoutlets" : 1,
95                     "outlettype" : [ "" ],
96                     "patching_rect" : [ 385.324179232120514, 476.169832110404968, 101.0, 22.0 ],
97                     "text" : "color $1 $1 $1 $1"
98                 }
99
100             }
101 ,             {
102                 "box" :                 {
103                     "id" : "obj-50",
104                     "maxclass" : "newobj",
105                     "numinlets" : 1,
106                     "numoutlets" : 1,
107                     "outlettype" : [ "" ],
108                     "patching_rect" : [ 1480.0, 397.0, 73.0, 22.0 ],
109                     "text" : "loadmess 0."
110                 }
111
112             }
113 ,             {
114                 "box" :                 {
115                     "format" : 6,
116                     "id" : "obj-45",
117                     "maxclass" : "flonum",
118                     "numinlets" : 1,
119                     "numoutlets" : 2,
120                     "outlettype" : [ "", "bang" ],
121                     "parameter_enable" : 0,
122                     "patching_rect" : [ 1480.0, 436.0, 50.0, 22.0 ]
123                 }
124
125             }
126 ,             {
127                 "box" :                 {
128                     "id" : "obj-47",
129                     "maxclass" : "message",
130                     "numinlets" : 2,
131                     "numoutlets" : 1,
132                     "outlettype" : [ "" ],
133                     "patching_rect" : [ 1480.0, 472.0, 59.0, 22.0 ],
134                     "presentation_linecount" : 2,
135                     "text" : "thresh $1"
136                 }
137
138             }
139 ,             {
140                 "box" :                 {
141                     "id" : "obj-39",
142                     "maxclass" : "newobj",
143                     "numinlets" : 1,
144                     "numoutlets" : 2,
145                     "outlettype" : [ "jit_matrix", "" ],
9dafdb 146                     "patcher" :                     {
MS 147                         "fileversion" : 1,
148                         "appversion" :                         {
149                             "major" : 8,
804189 150                             "minor" : 6,
MS 151                             "revision" : 3,
9dafdb 152                             "architecture" : "x64",
MS 153                             "modernui" : 1
154                         }
155 ,
804189 156                         "classnamespace" : "jit.gen",
MS 157                         "rect" : [ 59.0, 119.0, 600.0, 450.0 ],
9dafdb 158                         "bglocked" : 0,
MS 159                         "openinpresentation" : 0,
160                         "default_fontsize" : 12.0,
161                         "default_fontface" : 0,
162                         "default_fontname" : "Arial",
163                         "gridonopen" : 1,
164                         "gridsize" : [ 15.0, 15.0 ],
165                         "gridsnaponopen" : 1,
166                         "objectsnaponopen" : 1,
167                         "statusbarvisible" : 2,
168                         "toolbarvisible" : 1,
169                         "lefttoolbarpinned" : 0,
170                         "toptoolbarpinned" : 0,
171                         "righttoolbarpinned" : 0,
172                         "bottomtoolbarpinned" : 0,
173                         "toolbars_unpinned_last_save" : 0,
174                         "tallnewobj" : 0,
175                         "boxanimatetime" : 200,
176                         "enablehscroll" : 1,
177                         "enablevscroll" : 1,
178                         "devicewidth" : 0.0,
179                         "description" : "",
180                         "digest" : "",
181                         "tags" : "",
182                         "style" : "",
183                         "subpatcher_template" : "",
184                         "assistshowspatchername" : 0,
185                         "boxes" : [                             {
186                                 "box" :                                 {
804189 187                                     "id" : "obj-22",
MS 188                                     "maxclass" : "newobj",
189                                     "numinlets" : 3,
190                                     "numoutlets" : 1,
191                                     "outlettype" : [ "" ],
192                                     "patching_rect" : [ 74.0, 352.0, 151.0, 22.0 ],
193                                     "text" : "vec 0. 0. 0."
9dafdb 194                                 }
MS 195
196                             }
197 ,                             {
198                                 "box" :                                 {
804189 199                                     "id" : "obj-21",
MS 200                                     "maxclass" : "comment",
201                                     "numinlets" : 1,
202                                     "numoutlets" : 0,
203                                     "patching_rect" : [ 58.0, 115.5, 27.0, 20.0 ],
204                                     "text" : "dist"
205                                 }
206
207                             }
208 ,                             {
209                                 "box" :                                 {
210                                     "id" : "obj-20",
211                                     "maxclass" : "comment",
212                                     "numinlets" : 1,
213                                     "numoutlets" : 0,
214                                     "patching_rect" : [ 229.0, 115.5, 25.0, 20.0 ],
215                                     "text" : "ele"
216                                 }
217
218                             }
219 ,                             {
220                                 "box" :                                 {
221                                     "id" : "obj-19",
222                                     "maxclass" : "comment",
223                                     "numinlets" : 1,
224                                     "numoutlets" : 0,
225                                     "patching_rect" : [ 146.0, 122.0, 24.0, 20.0 ],
226                                     "text" : "azi"
227                                 }
228
229                             }
230 ,                             {
231                                 "box" :                                 {
232                                     "id" : "obj-17",
233                                     "maxclass" : "newobj",
234                                     "numinlets" : 2,
235                                     "numoutlets" : 2,
236                                     "outlettype" : [ "", "" ],
237                                     "patching_rect" : [ 74.0, 231.0, 151.0, 22.0 ],
238                                     "text" : "poltocar"
239                                 }
240
241                             }
242 ,                             {
243                                 "box" :                                 {
244                                     "id" : "obj-16",
245                                     "maxclass" : "newobj",
246                                     "numinlets" : 0,
247                                     "numoutlets" : 1,
248                                     "outlettype" : [ "" ],
249                                     "patching_rect" : [ 341.0, 136.0, 69.0, 22.0 ],
250                                     "text" : "param amp"
251                                 }
252
253                             }
254 ,                             {
255                                 "box" :                                 {
256                                     "fontname" : "Arial",
257                                     "fontsize" : 12.0,
258                                     "id" : "obj-14",
259                                     "maxclass" : "newobj",
9dafdb 260                                     "numinlets" : 1,
MS 261                                     "numoutlets" : 1,
262                                     "outlettype" : [ "" ],
804189 263                                     "patching_rect" : [ 74.0, 182.0, 42.0, 22.0 ],
MS 264                                     "text" : "* amp"
265                                 }
266
267                             }
268 ,                             {
269                                 "box" :                                 {
270                                     "id" : "obj-15",
271                                     "maxclass" : "newobj",
272                                     "numinlets" : 1,
273                                     "numoutlets" : 1,
274                                     "outlettype" : [ "" ],
275                                     "patching_rect" : [ 74.0, 143.0, 41.0, 22.0 ],
276                                     "text" : "swiz z"
277                                 }
278
279                             }
280 ,                             {
281                                 "box" :                                 {
282                                     "id" : "obj-9",
283                                     "maxclass" : "newobj",
284                                     "numinlets" : 1,
285                                     "numoutlets" : 1,
286                                     "outlettype" : [ "" ],
287                                     "patching_rect" : [ 206.0, 143.0, 41.0, 22.0 ],
288                                     "text" : "swiz y"
9dafdb 289                                 }
MS 290
291                             }
292 ,                             {
293                                 "box" :                                 {
294                                     "id" : "obj-8",
804189 295                                     "maxclass" : "newobj",
MS 296                                     "numinlets" : 1,
9dafdb 297                                     "numoutlets" : 1,
MS 298                                     "outlettype" : [ "" ],
804189 299                                     "patching_rect" : [ 129.0, 143.0, 41.0, 22.0 ],
MS 300                                     "text" : "swiz x"
9dafdb 301                                 }
MS 302
303                             }
304 ,                             {
305                                 "box" :                                 {
804189 306                                     "id" : "obj-7",
9dafdb 307                                     "maxclass" : "newobj",
MS 308                                     "numinlets" : 2,
309                                     "numoutlets" : 2,
310                                     "outlettype" : [ "", "" ],
804189 311                                     "patching_rect" : [ 74.0, 296.0, 74.0, 22.0 ],
MS 312                                     "text" : "poltocar"
9dafdb 313                                 }
MS 314
315                             }
316 ,                             {
317                                 "box" :                                 {
318                                     "id" : "obj-1",
319                                     "maxclass" : "newobj",
804189 320                                     "numinlets" : 0,
9dafdb 321                                     "numoutlets" : 1,
MS 322                                     "outlettype" : [ "" ],
804189 323                                     "patching_rect" : [ 129.0, 16.0, 28.0, 22.0 ],
MS 324                                     "text" : "in 1"
325                                 }
326
327                             }
328 ,                             {
329                                 "box" :                                 {
330                                     "id" : "obj-4",
331                                     "maxclass" : "newobj",
332                                     "numinlets" : 1,
333                                     "numoutlets" : 0,
334                                     "patching_rect" : [ 74.0, 405.0, 35.0, 22.0 ],
335                                     "text" : "out 1"
9dafdb 336                                 }
MS 337
338                             }
339  ],
340                         "lines" : [                             {
341                                 "patchline" :                                 {
804189 342                                     "destination" : [ "obj-15", 0 ],
MS 343                                     "order" : 2,
9dafdb 344                                     "source" : [ "obj-1", 0 ]
MS 345                                 }
346
347                             }
348 ,                             {
349                                 "patchline" :                                 {
804189 350                                     "destination" : [ "obj-8", 0 ],
MS 351                                     "order" : 1,
352                                     "source" : [ "obj-1", 0 ]
353                                 }
354
355                             }
356 ,                             {
357                                 "patchline" :                                 {
358                                     "destination" : [ "obj-9", 0 ],
359                                     "order" : 0,
360                                     "source" : [ "obj-1", 0 ]
361                                 }
362
363                             }
364 ,                             {
365                                 "patchline" :                                 {
366                                     "destination" : [ "obj-17", 0 ],
367                                     "source" : [ "obj-14", 0 ]
368                                 }
369
370                             }
371 ,                             {
372                                 "patchline" :                                 {
373                                     "destination" : [ "obj-14", 0 ],
374                                     "source" : [ "obj-15", 0 ]
375                                 }
376
377                             }
378 ,                             {
379                                 "patchline" :                                 {
380                                     "destination" : [ "obj-22", 2 ],
381                                     "source" : [ "obj-17", 1 ]
382                                 }
383
384                             }
385 ,                             {
386                                 "patchline" :                                 {
387                                     "destination" : [ "obj-7", 0 ],
388                                     "source" : [ "obj-17", 0 ]
9dafdb 389                                 }
MS 390
391                             }
392 ,                             {
393                                 "patchline" :                                 {
394                                     "destination" : [ "obj-4", 0 ],
804189 395                                     "source" : [ "obj-22", 0 ]
9dafdb 396                                 }
MS 397
398                             }
399 ,                             {
400                                 "patchline" :                                 {
804189 401                                     "destination" : [ "obj-22", 1 ],
MS 402                                     "source" : [ "obj-7", 1 ]
9dafdb 403                                 }
MS 404
405                             }
406 ,                             {
407                                 "patchline" :                                 {
804189 408                                     "destination" : [ "obj-22", 0 ],
MS 409                                     "source" : [ "obj-7", 0 ]
410                                 }
411
412                             }
413 ,                             {
414                                 "patchline" :                                 {
415                                     "destination" : [ "obj-7", 1 ],
416                                     "source" : [ "obj-8", 0 ]
417                                 }
418
419                             }
420 ,                             {
421                                 "patchline" :                                 {
422                                     "destination" : [ "obj-17", 1 ],
423                                     "source" : [ "obj-9", 0 ]
9dafdb 424                                 }
MS 425
426                             }
427  ]
428                     }
429 ,
804189 430                     "patching_rect" : [ 1424.0, 677.319144606590271, 41.0, 22.0 ],
MS 431                     "text" : "jit.gen"
432                 }
433
434             }
435 ,             {
436                 "box" :                 {
437                     "id" : "obj-20",
438                     "maxclass" : "newobj",
439                     "numinlets" : 2,
440                     "numoutlets" : 1,
441                     "outlettype" : [ "" ],
442                     "patching_rect" : [ 1440.0, 244.0, 79.0, 22.0 ],
443                     "text" : "vexpr $f1*$f2"
444                 }
445
446             }
447 ,             {
448                 "box" :                 {
449                     "id" : "obj-7",
450                     "maxclass" : "newobj",
451                     "numinlets" : 1,
452                     "numoutlets" : 1,
453                     "outlettype" : [ "" ],
454                     "patching_rect" : [ 507.446804881095886, 309.0, 73.0, 22.0 ],
455                     "text" : "loadmess 1."
456                 }
457
458             }
459 ,             {
460                 "box" :                 {
461                     "id" : "obj-75",
462                     "maxclass" : "newobj",
463                     "numinlets" : 2,
464                     "numoutlets" : 2,
465                     "outlettype" : [ "jit_gl_texture", "" ],
466                     "patching_rect" : [ 223.404253721237183, 791.48935604095459, 145.0, 22.0 ],
467                     "text" : "jit.gl.slab @file tp.slide.jxs"
468                 }
469
470             }
471 ,             {
472                 "box" :                 {
473                     "id" : "obj-74",
474                     "maxclass" : "number",
475                     "numinlets" : 1,
476                     "numoutlets" : 2,
477                     "outlettype" : [ "", "bang" ],
478                     "parameter_enable" : 0,
479                     "patching_rect" : [ 1370.0, 61.70212721824646, 50.0, 22.0 ]
480                 }
481
482             }
483 ,             {
484                 "box" :                 {
485                     "format" : 6,
486                     "id" : "obj-72",
487                     "maxclass" : "flonum",
488                     "numinlets" : 1,
489                     "numoutlets" : 2,
490                     "outlettype" : [ "", "bang" ],
491                     "parameter_enable" : 0,
492                     "patching_rect" : [ 377.5, 371.276593089103699, 50.0, 22.0 ]
493                 }
494
495             }
496 ,             {
497                 "box" :                 {
498                     "id" : "obj-73",
499                     "maxclass" : "message",
500                     "numinlets" : 2,
501                     "numoutlets" : 1,
502                     "outlettype" : [ "" ],
503                     "patching_rect" : [ 377.5, 409.574465155601501, 79.0, 22.0 ],
504                     "text" : "point_size $1"
505                 }
506
507             }
508 ,             {
509                 "box" :                 {
510                     "id" : "obj-70",
511                     "maxclass" : "newobj",
512                     "numinlets" : 1,
513                     "numoutlets" : 0,
514                     "patching_rect" : [ 686.021535634994507, 819.148930311203003, 73.0, 22.0 ],
515                     "text" : "s color-lines"
516                 }
517
518             }
519 ,             {
520                 "box" :                 {
521                     "id" : "obj-69",
522                     "maxclass" : "newobj",
523                     "numinlets" : 0,
524                     "numoutlets" : 1,
525                     "outlettype" : [ "" ],
526                     "patching_rect" : [ 146.808509588241577, 417.382598280906677, 39.0, 22.0 ],
527                     "text" : "r lobe"
528                 }
529
530             }
531 ,             {
532                 "box" :                 {
533                     "id" : "obj-68",
534                     "maxclass" : "newobj",
535                     "numinlets" : 1,
536                     "numoutlets" : 0,
537                     "patching_rect" : [ 1338.0, 677.319144606590271, 41.0, 22.0 ],
538                     "text" : "s lobe"
539                 }
540
541             }
542 ,             {
543                 "box" :                 {
544                     "id" : "obj-64",
545                     "maxclass" : "newobj",
546                     "numinlets" : 0,
547                     "numoutlets" : 1,
548                     "outlettype" : [ "" ],
549                     "patching_rect" : [ 1016.0, 521.5691938996315, 61.0, 22.0 ],
550                     "text" : "r rms-vals"
551                 }
552
553             }
554 ,             {
555                 "box" :                 {
556                     "id" : "obj-63",
557                     "maxclass" : "newobj",
558                     "numinlets" : 0,
559                     "numoutlets" : 1,
560                     "outlettype" : [ "" ],
561                     "patching_rect" : [ 1370.0, 188.172051310539246, 61.0, 22.0 ],
562                     "text" : "r rms-vals"
563                 }
564
565             }
566 ,             {
567                 "box" :                 {
568                     "id" : "obj-61",
569                     "maxclass" : "newobj",
570                     "numinlets" : 1,
571                     "numoutlets" : 0,
572                     "patching_rect" : [ 1370.0, 139.361701130867004, 63.0, 22.0 ],
573                     "text" : "s rms-vals"
574                 }
575
576             }
577 ,             {
578                 "box" :                 {
579                     "format" : 6,
580                     "id" : "obj-60",
581                     "maxclass" : "flonum",
582                     "numinlets" : 1,
583                     "numoutlets" : 2,
584                     "outlettype" : [ "", "bang" ],
585                     "parameter_enable" : 0,
586                     "patching_rect" : [ 1214.893608331680298, 587.234038352966309, 50.0, 22.0 ]
587                 }
588
589             }
590 ,             {
591                 "box" :                 {
592                     "id" : "obj-58",
593                     "maxclass" : "newobj",
594                     "numinlets" : 2,
595                     "numoutlets" : 1,
596                     "outlettype" : [ "" ],
597                     "patching_rect" : [ 1015.957439541816711, 605.319144606590271, 166.0, 22.0 ],
598                     "text" : "vexpr $f2-$f1 @scalarmode 1"
599                 }
600
601             }
602 ,             {
603                 "box" :                 {
604                     "id" : "obj-55",
605                     "maxclass" : "newobj",
606                     "numinlets" : 1,
607                     "numoutlets" : 2,
608                     "outlettype" : [ "bang", "" ],
609                     "patching_rect" : [ 1015.957439541816711, 664.0, 29.5, 22.0 ],
610                     "text" : "t b l"
611                 }
612
613             }
614 ,             {
615                 "box" :                 {
616                     "id" : "obj-53",
617                     "linecount" : 3,
618                     "maxclass" : "comment",
619                     "numinlets" : 1,
620                     "numoutlets" : 0,
621                     "patching_rect" : [ 676.5, 41.0, 153.0, 47.0 ],
622                     "text" : "NB: We could also make a bump map for a sphere out of this"
623                 }
624
625             }
626 ,             {
627                 "box" :                 {
628                     "id" : "obj-26",
629                     "maxclass" : "newobj",
630                     "numinlets" : 0,
631                     "numoutlets" : 1,
632                     "outlettype" : [ "" ],
633                     "patching_rect" : [ 1390.566102385520935, 417.021273612976074, 39.0, 22.0 ],
634                     "text" : "r amp"
635                 }
636
637             }
638 ,             {
639                 "box" :                 {
640                     "id" : "obj-44",
641                     "maxclass" : "newobj",
642                     "numinlets" : 1,
643                     "numoutlets" : 2,
644                     "outlettype" : [ "", "" ],
645                     "patching_rect" : [ 120.814444065093994, 114.0, 69.0, 22.0 ],
646                     "text" : "jit.gl.handle"
647                 }
648
649             }
650 ,             {
651                 "box" :                 {
652                     "attr" : "slide_down",
653                     "attrfilter" : [ "slide_down" ],
654                     "fontface" : 0,
655                     "fontname" : "Arial",
656                     "fontsize" : 13.0,
657                     "id" : "obj-42",
658                     "maxclass" : "attrui",
659                     "numinlets" : 1,
660                     "numoutlets" : 1,
661                     "outlettype" : [ "" ],
662                     "parameter_enable" : 0,
663                     "patching_rect" : [ 1474.468074560165405, 543.617017388343811, 150.0, 23.0 ]
664                 }
665
666             }
667 ,             {
668                 "box" :                 {
669                     "attr" : "slide_up",
670                     "attrfilter" : [ "slide_up" ],
671                     "fontface" : 0,
672                     "fontname" : "Arial",
673                     "fontsize" : 13.0,
674                     "id" : "obj-43",
675                     "maxclass" : "attrui",
676                     "numinlets" : 1,
677                     "numoutlets" : 1,
678                     "outlettype" : [ "" ],
679                     "parameter_enable" : 0,
680                     "patching_rect" : [ 1474.468074560165405, 509.574464440345764, 150.0, 23.0 ]
681                 }
682
683             }
684 ,             {
685                 "box" :                 {
686                     "id" : "obj-40",
687                     "maxclass" : "newobj",
688                     "numinlets" : 1,
689                     "numoutlets" : 2,
690                     "outlettype" : [ "jit_matrix", "" ],
691                     "patching_rect" : [ 1338.0, 605.319144606590271, 201.0, 22.0 ],
692                     "text" : "jit.slide @slide_up 0 @slide_down 5"
693                 }
694
695             }
696 ,             {
697                 "box" :                 {
698                     "id" : "obj-38",
699                     "maxclass" : "newobj",
700                     "numinlets" : 1,
701                     "numoutlets" : 2,
702                     "outlettype" : [ "bang", "" ],
703                     "patching_rect" : [ 1348.5, 507.54719340801239, 29.5, 22.0 ],
704                     "text" : "t b l"
705                 }
706
707             }
708 ,             {
709                 "box" :                 {
710                     "format" : 6,
711                     "id" : "obj-37",
712                     "maxclass" : "flonum",
713                     "numinlets" : 1,
714                     "numoutlets" : 2,
715                     "outlettype" : [ "", "bang" ],
716                     "parameter_enable" : 0,
717                     "patching_rect" : [ 1390.566102385520935, 447.169832110404968, 50.0, 22.0 ]
718                 }
719
720             }
721 ,             {
722                 "box" :                 {
723                     "id" : "obj-34",
724                     "maxclass" : "message",
725                     "numinlets" : 2,
726                     "numoutlets" : 1,
727                     "outlettype" : [ "" ],
728                     "patching_rect" : [ 1390.566102385520935, 482.97871994972229, 49.0, 22.0 ],
729                     "text" : "amp $1"
730                 }
731
732             }
733 ,             {
734                 "box" :                 {
735                     "id" : "obj-24",
736                     "maxclass" : "newobj",
737                     "numinlets" : 1,
738                     "numoutlets" : 2,
739                     "outlettype" : [ "", "" ],
740                     "patching_rect" : [ 1370.0, 336.0, 94.0, 22.0 ],
741                     "text" : "jit.fill mymatrix 2"
742                 }
743
744             }
745 ,             {
746                 "box" :                 {
747                     "id" : "obj-25",
748                     "maxclass" : "newobj",
749                     "numinlets" : 1,
750                     "numoutlets" : 2,
751                     "outlettype" : [ "", "" ],
752                     "patching_rect" : [ 1272.0, 336.0, 94.0, 22.0 ],
753                     "text" : "jit.fill mymatrix 1"
754                 }
755
756             }
757 ,             {
758                 "box" :                 {
759                     "id" : "obj-27",
760                     "maxclass" : "newobj",
761                     "numinlets" : 1,
762                     "numoutlets" : 2,
763                     "outlettype" : [ "jit_matrix", "" ],
764                     "patching_rect" : [ 1173.0, 438.185178279876709, 178.0, 22.0 ],
765                     "text" : "jit.matrix mymatrix 3 float32 512"
766                 }
767
768             }
769 ,             {
770                 "box" :                 {
771                     "id" : "obj-28",
772                     "maxclass" : "newobj",
773                     "numinlets" : 1,
774                     "numoutlets" : 2,
775                     "outlettype" : [ "", "" ],
776                     "patching_rect" : [ 1169.0, 336.0, 94.0, 22.0 ],
777                     "text" : "jit.fill mymatrix 0"
778                 }
779
780             }
781 ,             {
782                 "box" :                 {
783                     "id" : "obj-17",
784                     "maxclass" : "newobj",
785                     "numinlets" : 1,
786                     "numoutlets" : 2,
787                     "outlettype" : [ "jit_matrix", "" ],
788                     "patcher" :                     {
789                         "fileversion" : 1,
790                         "appversion" :                         {
791                             "major" : 8,
792                             "minor" : 6,
793                             "revision" : 3,
794                             "architecture" : "x64",
795                             "modernui" : 1
796                         }
797 ,
798                         "classnamespace" : "jit.gen",
799                         "rect" : [ 59.0, 119.0, 545.0, 474.0 ],
800                         "bglocked" : 0,
801                         "openinpresentation" : 0,
802                         "default_fontsize" : 12.0,
803                         "default_fontface" : 0,
804                         "default_fontname" : "Arial",
805                         "gridonopen" : 1,
806                         "gridsize" : [ 15.0, 15.0 ],
807                         "gridsnaponopen" : 1,
808                         "objectsnaponopen" : 1,
809                         "statusbarvisible" : 2,
810                         "toolbarvisible" : 1,
811                         "lefttoolbarpinned" : 0,
812                         "toptoolbarpinned" : 0,
813                         "righttoolbarpinned" : 0,
814                         "bottomtoolbarpinned" : 0,
815                         "toolbars_unpinned_last_save" : 0,
816                         "tallnewobj" : 0,
817                         "boxanimatetime" : 200,
818                         "enablehscroll" : 1,
819                         "enablevscroll" : 1,
820                         "devicewidth" : 0.0,
9dafdb 821                         "description" : "",
MS 822                         "digest" : "",
804189 823                         "tags" : "",
MS 824                         "style" : "",
825                         "subpatcher_template" : "",
826                         "assistshowspatchername" : 0,
827                         "boxes" : [                             {
828                                 "box" :                                 {
829                                     "fontname" : "Arial",
830                                     "fontsize" : 12.0,
831                                     "id" : "obj-5",
832                                     "maxclass" : "newobj",
833                                     "numinlets" : 2,
834                                     "numoutlets" : 1,
835                                     "outlettype" : [ "" ],
836                                     "patching_rect" : [ 74.0, 249.0, 29.5, 22.0 ],
837                                     "text" : "*"
838                                 }
839
840                             }
841 ,                             {
842                                 "box" :                                 {
843                                     "fontname" : "Arial",
844                                     "fontsize" : 12.0,
845                                     "id" : "obj-3",
846                                     "maxclass" : "newobj",
847                                     "numinlets" : 1,
848                                     "numoutlets" : 1,
849                                     "outlettype" : [ "" ],
850                                     "patching_rect" : [ 96.0, 220.0, 52.0, 22.0 ],
851                                     "text" : "> thresh"
852                                 }
853
854                             }
855 ,                             {
856                                 "box" :                                 {
857                                     "id" : "obj-2",
858                                     "maxclass" : "newobj",
859                                     "numinlets" : 0,
860                                     "numoutlets" : 1,
861                                     "outlettype" : [ "" ],
862                                     "patching_rect" : [ 369.0, 213.0, 79.0, 22.0 ],
863                                     "text" : "param thresh"
864                                 }
865
866                             }
867 ,                             {
868                                 "box" :                                 {
869                                     "id" : "obj-22",
870                                     "maxclass" : "newobj",
871                                     "numinlets" : 3,
872                                     "numoutlets" : 1,
873                                     "outlettype" : [ "" ],
874                                     "patching_rect" : [ 74.0, 382.0, 151.0, 22.0 ],
875                                     "text" : "vec 0. 0. 0."
876                                 }
877
878                             }
879 ,                             {
880                                 "box" :                                 {
881                                     "id" : "obj-21",
882                                     "maxclass" : "comment",
883                                     "numinlets" : 1,
884                                     "numoutlets" : 0,
885                                     "patching_rect" : [ 58.0, 115.5, 27.0, 20.0 ],
886                                     "text" : "dist"
887                                 }
888
889                             }
890 ,                             {
891                                 "box" :                                 {
892                                     "id" : "obj-20",
893                                     "maxclass" : "comment",
894                                     "numinlets" : 1,
895                                     "numoutlets" : 0,
896                                     "patching_rect" : [ 229.0, 115.5, 25.0, 20.0 ],
897                                     "text" : "ele"
898                                 }
899
900                             }
901 ,                             {
902                                 "box" :                                 {
903                                     "id" : "obj-19",
904                                     "maxclass" : "comment",
905                                     "numinlets" : 1,
906                                     "numoutlets" : 0,
907                                     "patching_rect" : [ 146.0, 122.0, 24.0, 20.0 ],
908                                     "text" : "azi"
909                                 }
910
911                             }
912 ,                             {
913                                 "box" :                                 {
914                                     "id" : "obj-17",
915                                     "maxclass" : "newobj",
916                                     "numinlets" : 2,
917                                     "numoutlets" : 2,
918                                     "outlettype" : [ "", "" ],
919                                     "patching_rect" : [ 74.0, 285.0, 151.0, 22.0 ],
920                                     "text" : "poltocar"
921                                 }
922
923                             }
924 ,                             {
925                                 "box" :                                 {
926                                     "id" : "obj-16",
927                                     "maxclass" : "newobj",
928                                     "numinlets" : 0,
929                                     "numoutlets" : 1,
930                                     "outlettype" : [ "" ],
931                                     "patching_rect" : [ 341.0, 136.0, 69.0, 22.0 ],
932                                     "text" : "param amp"
933                                 }
934
935                             }
936 ,                             {
937                                 "box" :                                 {
938                                     "fontname" : "Arial",
939                                     "fontsize" : 12.0,
940                                     "id" : "obj-14",
941                                     "maxclass" : "newobj",
942                                     "numinlets" : 1,
943                                     "numoutlets" : 1,
944                                     "outlettype" : [ "" ],
945                                     "patching_rect" : [ 74.0, 182.0, 42.0, 22.0 ],
946                                     "text" : "* amp"
947                                 }
948
949                             }
950 ,                             {
951                                 "box" :                                 {
952                                     "id" : "obj-15",
953                                     "maxclass" : "newobj",
954                                     "numinlets" : 1,
955                                     "numoutlets" : 1,
956                                     "outlettype" : [ "" ],
957                                     "patching_rect" : [ 74.0, 143.0, 41.0, 22.0 ],
958                                     "text" : "swiz z"
959                                 }
960
961                             }
962 ,                             {
963                                 "box" :                                 {
964                                     "id" : "obj-9",
965                                     "maxclass" : "newobj",
966                                     "numinlets" : 1,
967                                     "numoutlets" : 1,
968                                     "outlettype" : [ "" ],
969                                     "patching_rect" : [ 206.0, 143.0, 41.0, 22.0 ],
970                                     "text" : "swiz y"
971                                 }
972
973                             }
974 ,                             {
975                                 "box" :                                 {
976                                     "id" : "obj-8",
977                                     "maxclass" : "newobj",
978                                     "numinlets" : 1,
979                                     "numoutlets" : 1,
980                                     "outlettype" : [ "" ],
981                                     "patching_rect" : [ 129.0, 143.0, 41.0, 22.0 ],
982                                     "text" : "swiz x"
983                                 }
984
985                             }
986 ,                             {
987                                 "box" :                                 {
988                                     "id" : "obj-7",
989                                     "maxclass" : "newobj",
990                                     "numinlets" : 2,
991                                     "numoutlets" : 2,
992                                     "outlettype" : [ "", "" ],
993                                     "patching_rect" : [ 74.0, 333.0, 74.0, 22.0 ],
994                                     "text" : "poltocar"
995                                 }
996
997                             }
998 ,                             {
999                                 "box" :                                 {
1000                                     "id" : "obj-1",
1001                                     "maxclass" : "newobj",
1002                                     "numinlets" : 0,
1003                                     "numoutlets" : 1,
1004                                     "outlettype" : [ "" ],
1005                                     "patching_rect" : [ 129.0, 16.0, 28.0, 22.0 ],
1006                                     "text" : "in 1"
1007                                 }
1008
1009                             }
1010 ,                             {
1011                                 "box" :                                 {
1012                                     "id" : "obj-4",
1013                                     "maxclass" : "newobj",
1014                                     "numinlets" : 1,
1015                                     "numoutlets" : 0,
1016                                     "patching_rect" : [ 74.0, 435.0, 35.0, 22.0 ],
1017                                     "text" : "out 1"
1018                                 }
1019
1020                             }
1021  ],
1022                         "lines" : [                             {
1023                                 "patchline" :                                 {
1024                                     "destination" : [ "obj-15", 0 ],
1025                                     "order" : 2,
1026                                     "source" : [ "obj-1", 0 ]
1027                                 }
1028
1029                             }
1030 ,                             {
1031                                 "patchline" :                                 {
1032                                     "destination" : [ "obj-8", 0 ],
1033                                     "order" : 1,
1034                                     "source" : [ "obj-1", 0 ]
1035                                 }
1036
1037                             }
1038 ,                             {
1039                                 "patchline" :                                 {
1040                                     "destination" : [ "obj-9", 0 ],
1041                                     "order" : 0,
1042                                     "source" : [ "obj-1", 0 ]
1043                                 }
1044
1045                             }
1046 ,                             {
1047                                 "patchline" :                                 {
1048                                     "destination" : [ "obj-3", 0 ],
1049                                     "order" : 0,
1050                                     "source" : [ "obj-14", 0 ]
1051                                 }
1052
1053                             }
1054 ,                             {
1055                                 "patchline" :                                 {
1056                                     "destination" : [ "obj-5", 0 ],
1057                                     "order" : 1,
1058                                     "source" : [ "obj-14", 0 ]
1059                                 }
1060
1061                             }
1062 ,                             {
1063                                 "patchline" :                                 {
1064                                     "destination" : [ "obj-14", 0 ],
1065                                     "source" : [ "obj-15", 0 ]
1066                                 }
1067
1068                             }
1069 ,                             {
1070                                 "patchline" :                                 {
1071                                     "destination" : [ "obj-22", 2 ],
1072                                     "source" : [ "obj-17", 1 ]
1073                                 }
1074
1075                             }
1076 ,                             {
1077                                 "patchline" :                                 {
1078                                     "destination" : [ "obj-7", 0 ],
1079                                     "source" : [ "obj-17", 0 ]
1080                                 }
1081
1082                             }
1083 ,                             {
1084                                 "patchline" :                                 {
1085                                     "destination" : [ "obj-4", 0 ],
1086                                     "source" : [ "obj-22", 0 ]
1087                                 }
1088
1089                             }
1090 ,                             {
1091                                 "patchline" :                                 {
1092                                     "destination" : [ "obj-5", 1 ],
1093                                     "source" : [ "obj-3", 0 ]
1094                                 }
1095
1096                             }
1097 ,                             {
1098                                 "patchline" :                                 {
1099                                     "destination" : [ "obj-17", 0 ],
1100                                     "source" : [ "obj-5", 0 ]
1101                                 }
1102
1103                             }
1104 ,                             {
1105                                 "patchline" :                                 {
1106                                     "destination" : [ "obj-22", 1 ],
1107                                     "source" : [ "obj-7", 1 ]
1108                                 }
1109
1110                             }
1111 ,                             {
1112                                 "patchline" :                                 {
1113                                     "destination" : [ "obj-22", 0 ],
1114                                     "source" : [ "obj-7", 0 ]
1115                                 }
1116
1117                             }
1118 ,                             {
1119                                 "patchline" :                                 {
1120                                     "destination" : [ "obj-7", 1 ],
1121                                     "source" : [ "obj-8", 0 ]
1122                                 }
1123
1124                             }
1125 ,                             {
1126                                 "patchline" :                                 {
1127                                     "destination" : [ "obj-17", 1 ],
1128                                     "source" : [ "obj-9", 0 ]
1129                                 }
1130
1131                             }
1132  ]
9dafdb 1133                     }
MS 1134 ,
804189 1135                     "patching_rect" : [ 1338.0, 568.319144606590271, 41.0, 22.0 ],
MS 1136                     "text" : "jit.gen"
1137                 }
1138
1139             }
1140 ,             {
1141                 "box" :                 {
1142                     "id" : "obj-9",
1143                     "maxclass" : "newobj",
1144                     "numinlets" : 1,
1145                     "numoutlets" : 2,
1146                     "outlettype" : [ "bang", "float" ],
1147                     "patching_rect" : [ 787.096808910369873, 729.03229022026062, 29.5, 22.0 ],
1148                     "text" : "t b f"
1149                 }
1150
1151             }
1152 ,             {
1153                 "box" :                 {
1154                     "format" : 6,
1155                     "id" : "obj-54",
1156                     "maxclass" : "flonum",
1157                     "numinlets" : 1,
1158                     "numoutlets" : 2,
1159                     "outlettype" : [ "", "bang" ],
1160                     "parameter_enable" : 0,
1161                     "patching_rect" : [ 1164.0, 529.0, 50.0, 22.0 ]
1162                 }
1163
1164             }
1165 ,             {
1166                 "box" :                 {
1167                     "id" : "obj-52",
1168                     "maxclass" : "newobj",
1169                     "numinlets" : 2,
1170                     "numoutlets" : 1,
1171                     "outlettype" : [ "" ],
1172                     "patching_rect" : [ 1016.0, 558.576018452644348, 167.0, 22.0 ],
1173                     "text" : "vexpr $f1*$f2 @scalarmode 1"
1174                 }
1175
1176             }
1177 ,             {
1178                 "box" :                 {
1179                     "attr" : "point_mode",
1180                     "fontface" : 0,
1181                     "fontname" : "Arial",
1182                     "fontsize" : 13.0,
1183                     "id" : "obj-49",
1184                     "maxclass" : "attrui",
1185                     "numinlets" : 1,
1186                     "numoutlets" : 1,
1187                     "outlettype" : [ "" ],
1188                     "parameter_enable" : 0,
1189                     "patching_rect" : [ 158.510637164115906, 619.712761521339417, 233.333343625068665, 23.0 ]
1190                 }
1191
1192             }
1193 ,             {
1194                 "box" :                 {
1195                     "attr" : "color_mode",
1196                     "fontface" : 0,
1197                     "fontname" : "Arial",
1198                     "fontsize" : 13.0,
1199                     "id" : "obj-1",
1200                     "lock" : 1,
1201                     "maxclass" : "attrui",
1202                     "numinlets" : 1,
1203                     "numoutlets" : 1,
1204                     "outlettype" : [ "" ],
1205                     "parameter_enable" : 0,
1206                     "patching_rect" : [ 113.5, 587.705647110939026, 164.0, 23.0 ],
1207                     "text_width" : 83.0
1208                 }
1209
1210             }
1211 ,             {
1212                 "box" :                 {
1213                     "fontname" : "Arial",
1214                     "fontsize" : 13.0,
1215                     "format" : 6,
1216                     "id" : "obj-127",
1217                     "maxclass" : "flonum",
1218                     "numinlets" : 1,
1219                     "numoutlets" : 2,
1220                     "outlettype" : [ "", "bang" ],
1221                     "parameter_enable" : 0,
1222                     "patching_rect" : [ 787.096808910369873, 685.297872066497803, 54.0, 23.0 ],
1223                     "triscale" : 0.9
1224                 }
1225
1226             }
1227 ,             {
1228                 "box" :                 {
1229                     "fontname" : "Arial",
1230                     "fontsize" : 13.0,
1231                     "id" : "obj-32",
1232                     "maxclass" : "newobj",
1233                     "numinlets" : 2,
1234                     "numoutlets" : 2,
1235                     "outlettype" : [ "jit_matrix", "" ],
1236                     "patching_rect" : [ 686.021535634994507, 763.440893888473511, 131.0, 23.0 ],
1237                     "text" : "jit.op @op * @val 0.2"
1238                 }
1239
1240             }
1241 ,             {
1242                 "box" :                 {
1243                     "id" : "obj-125",
1244                     "maxclass" : "newobj",
1245                     "numinlets" : 1,
1246                     "numoutlets" : 2,
1247                     "outlettype" : [ "", "" ],
1248                     "patching_rect" : [ 1015.957439541816711, 636.0, 104.0, 22.0 ],
1249                     "text" : "jit.fill colormatrix 3"
1250                 }
1251
1252             }
1253 ,             {
1254                 "box" :                 {
1255                     "id" : "obj-124",
1256                     "maxclass" : "newobj",
1257                     "numinlets" : 1,
1258                     "numoutlets" : 2,
1259                     "outlettype" : [ "", "" ],
1260                     "patching_rect" : [ 906.382972240447998, 609.0, 104.0, 22.0 ],
1261                     "text" : "jit.fill colormatrix 2"
1262                 }
1263
1264             }
1265 ,             {
1266                 "box" :                 {
1267                     "id" : "obj-123",
1268                     "maxclass" : "newobj",
1269                     "numinlets" : 1,
1270                     "numoutlets" : 2,
1271                     "outlettype" : [ "", "" ],
1272                     "patching_rect" : [ 799.0, 609.0, 104.0, 22.0 ],
1273                     "text" : "jit.fill colormatrix 1"
1274                 }
1275
1276             }
1277 ,             {
1278                 "box" :                 {
1279                     "id" : "obj-114",
1280                     "maxclass" : "newobj",
1281                     "numinlets" : 1,
1282                     "numoutlets" : 2,
1283                     "outlettype" : [ "", "" ],
1284                     "patching_rect" : [ 686.0, 609.0, 104.0, 22.0 ],
1285                     "text" : "jit.fill colormatrix 0"
9dafdb 1286                 }
MS 1287
1288             }
1289 ,             {
1290                 "box" :                 {
1291                     "id" : "obj-112",
1292                     "maxclass" : "newobj",
1293                     "numinlets" : 1,
1294                     "numoutlets" : 2,
1295                     "outlettype" : [ "jit_matrix", "" ],
804189 1296                     "patching_rect" : [ 686.0, 651.063825130462646, 188.0, 22.0 ],
9dafdb 1297                     "text" : "jit.matrix colormatrix 4 float32 512"
MS 1298                 }
1299
1300             }
1301 ,             {
1302                 "box" :                 {
1303                     "format" : 6,
1304                     "id" : "obj-110",
1305                     "maxclass" : "flonum",
1306                     "numinlets" : 1,
1307                     "numoutlets" : 2,
1308                     "outlettype" : [ "", "bang" ],
1309                     "parameter_enable" : 0,
804189 1310                     "patching_rect" : [ 474.814444065093994, 550.0, 50.0, 22.0 ]
9dafdb 1311                 }
MS 1312
1313             }
1314 ,             {
1315                 "box" :                 {
1316                     "id" : "obj-111",
1317                     "maxclass" : "message",
1318                     "numinlets" : 2,
1319                     "numoutlets" : 1,
1320                     "outlettype" : [ "" ],
1321                     "patching_rect" : [ 474.814444065093994, 588.205647110939026, 79.0, 22.0 ],
1322                     "text" : "point_size $1"
1323                 }
1324
1325             }
1326 ,             {
1327                 "box" :                 {
1328                     "format" : 6,
1329                     "id" : "obj-108",
1330                     "maxclass" : "flonum",
1331                     "numinlets" : 1,
1332                     "numoutlets" : 2,
1333                     "outlettype" : [ "", "bang" ],
1334                     "parameter_enable" : 0,
1335                     "patching_rect" : [ 334.324179232120514, 558.576018452644348, 50.0, 22.0 ]
1336                 }
1337
1338             }
1339 ,             {
1340                 "box" :                 {
1341                     "id" : "obj-109",
1342                     "maxclass" : "message",
1343                     "numinlets" : 2,
1344                     "numoutlets" : 1,
1345                     "outlettype" : [ "" ],
1346                     "patching_rect" : [ 334.324179232120514, 588.205647110939026, 101.0, 22.0 ],
1347                     "text" : "color $1 $1 $1 $1"
1348                 }
1349
1350             }
1351 ,             {
1352                 "box" :                 {
1353                     "id" : "obj-102",
1354                     "maxclass" : "button",
1355                     "numinlets" : 1,
1356                     "numoutlets" : 1,
1357                     "outlettype" : [ "bang" ],
1358                     "parameter_enable" : 0,
804189 1359                     "patching_rect" : [ 1450.0, 138.361701130867004, 24.0, 24.0 ]
9dafdb 1360                 }
MS 1361
1362             }
1363 ,             {
1364                 "box" :                 {
1365                     "id" : "obj-93",
1366                     "maxclass" : "newobj",
1367                     "numinlets" : 2,
1368                     "numoutlets" : 1,
1369                     "outlettype" : [ "" ],
804189 1370                     "patching_rect" : [ 1370.0, 285.0, 79.0, 22.0 ],
9dafdb 1371                     "text" : "vexpr $f1*$f2"
MS 1372                 }
1373
1374             }
1375 ,             {
1376                 "box" :                 {
1377                     "id" : "obj-86",
1378                     "maxclass" : "button",
1379                     "numinlets" : 1,
1380                     "numoutlets" : 1,
1381                     "outlettype" : [ "bang" ],
1382                     "parameter_enable" : 0,
804189 1383                     "patching_rect" : [ 1173.0, 161.702126502990723, 25.0, 25.0 ]
9dafdb 1384                 }
MS 1385
1386             }
1387 ,             {
1388                 "box" :                 {
1389                     "id" : "obj-85",
1390                     "maxclass" : "newobj",
1391                     "numinlets" : 1,
1392                     "numoutlets" : 3,
1393                     "outlettype" : [ "", "", "" ],
1394                     "patcher" :                     {
1395                         "fileversion" : 1,
1396                         "appversion" :                         {
1397                             "major" : 8,
804189 1398                             "minor" : 6,
MS 1399                             "revision" : 3,
9dafdb 1400                             "architecture" : "x64",
MS 1401                             "modernui" : 1
1402                         }
1403 ,
1404                         "classnamespace" : "box",
804189 1405                         "rect" : [ 422.0, 249.0, 532.0, 388.0 ],
9dafdb 1406                         "bglocked" : 0,
MS 1407                         "openinpresentation" : 0,
1408                         "default_fontsize" : 12.0,
1409                         "default_fontface" : 0,
1410                         "default_fontname" : "Arial",
1411                         "gridonopen" : 1,
1412                         "gridsize" : [ 15.0, 15.0 ],
1413                         "gridsnaponopen" : 1,
1414                         "objectsnaponopen" : 1,
1415                         "statusbarvisible" : 2,
1416                         "toolbarvisible" : 1,
1417                         "lefttoolbarpinned" : 0,
1418                         "toptoolbarpinned" : 0,
1419                         "righttoolbarpinned" : 0,
1420                         "bottomtoolbarpinned" : 0,
1421                         "toolbars_unpinned_last_save" : 0,
1422                         "tallnewobj" : 0,
1423                         "boxanimatetime" : 200,
1424                         "enablehscroll" : 1,
1425                         "enablevscroll" : 1,
1426                         "devicewidth" : 0.0,
1427                         "description" : "",
1428                         "digest" : "",
1429                         "tags" : "",
1430                         "style" : "",
1431                         "subpatcher_template" : "",
1432                         "assistshowspatchername" : 0,
1433                         "boxes" : [                             {
1434                                 "box" :                                 {
1435                                     "id" : "obj-3",
1436                                     "maxclass" : "newobj",
1437                                     "numinlets" : 1,
1438                                     "numoutlets" : 1,
1439                                     "outlettype" : [ "float" ],
1440                                     "patching_rect" : [ 281.0, 174.0, 25.0, 22.0 ],
1441                                     "text" : "t 1."
1442                                 }
1443
1444                             }
1445 ,                             {
1446                                 "box" :                                 {
1447                                     "id" : "obj-2",
1448                                     "maxclass" : "newobj",
1449                                     "numinlets" : 2,
1450                                     "numoutlets" : 2,
1451                                     "outlettype" : [ "", "" ],
1452                                     "patching_rect" : [ 281.0, 208.0, 173.0, 22.0 ],
1453                                     "text" : "zl group 426 @zlmaxsize 1024"
1454                                 }
1455
1456                             }
1457 ,                             {
1458                                 "box" :                                 {
1459                                     "id" : "obj-1",
1460                                     "maxclass" : "newobj",
1461                                     "numinlets" : 2,
1462                                     "numoutlets" : 3,
1463                                     "outlettype" : [ "bang", "bang", "int" ],
1464                                     "patching_rect" : [ 281.0, 139.0, 47.0, 22.0 ],
1465                                     "text" : "uzi 426"
1466                                 }
1467
1468                             }
1469 ,                             {
1470                                 "box" :                                 {
1471                                     "id" : "obj-70",
1472                                     "maxclass" : "newobj",
1473                                     "numinlets" : 1,
1474                                     "numoutlets" : 3,
1475                                     "outlettype" : [ "bang", "bang", "bang" ],
1476                                     "patching_rect" : [ 50.0, 100.0, 240.0, 22.0 ],
1477                                     "text" : "t b b b"
1478                                 }
1479
1480                             }
1481 ,                             {
1482                                 "box" :                                 {
1483                                     "id" : "obj-62",
1484                                     "maxclass" : "message",
1485                                     "numinlets" : 2,
1486                                     "numoutlets" : 1,
1487                                     "outlettype" : [ "" ],
1488                                     "patching_rect" : [ 161.0, 131.0, 111.0, 22.0 ],
1489                                     "text" : "elevationInRadians"
1490                                 }
1491
1492                             }
1493 ,                             {
1494                                 "box" :                                 {
1495                                     "id" : "obj-63",
1496                                     "maxclass" : "newobj",
1497                                     "numinlets" : 1,
1498                                     "numoutlets" : 4,
1499                                     "outlettype" : [ "", "", "", "" ],
1500                                     "patching_rect" : [ 161.0, 164.0, 102.0, 22.0 ],
1501                                     "saved_object_attributes" :                                     {
1502                                         "embed" : 0,
1503                                         "precision" : 6
1504                                     }
1505 ,
1506                                     "text" : "coll spherical-grid"
1507                                 }
1508
1509                             }
1510 ,                             {
1511                                 "box" :                                 {
1512                                     "id" : "obj-52",
1513                                     "maxclass" : "message",
1514                                     "numinlets" : 2,
1515                                     "numoutlets" : 1,
1516                                     "outlettype" : [ "" ],
1517                                     "patching_rect" : [ 50.0, 131.0, 105.0, 22.0 ],
1518                                     "text" : "azimuthInRadians"
1519                                 }
1520
1521                             }
1522 ,                             {
1523                                 "box" :                                 {
1524                                     "id" : "obj-49",
1525                                     "maxclass" : "newobj",
1526                                     "numinlets" : 1,
1527                                     "numoutlets" : 4,
1528                                     "outlettype" : [ "", "", "", "" ],
1529                                     "patching_rect" : [ 50.0, 164.0, 102.0, 22.0 ],
1530                                     "saved_object_attributes" :                                     {
1531                                         "embed" : 0,
1532                                         "precision" : 6
1533                                     }
1534 ,
1535                                     "text" : "coll spherical-grid"
1536                                 }
1537
1538                             }
1539 ,                             {
1540                                 "box" :                                 {
1541                                     "comment" : "",
1542                                     "id" : "obj-79",
1543                                     "index" : 1,
1544                                     "maxclass" : "inlet",
1545                                     "numinlets" : 0,
1546                                     "numoutlets" : 1,
1547                                     "outlettype" : [ "bang" ],
1548                                     "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ]
1549                                 }
1550
1551                             }
1552 ,                             {
1553                                 "box" :                                 {
1554                                     "comment" : "",
1555                                     "id" : "obj-80",
1556                                     "index" : 1,
1557                                     "maxclass" : "outlet",
1558                                     "numinlets" : 1,
1559                                     "numoutlets" : 0,
1560                                     "patching_rect" : [ 50.0, 246.0, 30.0, 30.0 ]
1561                                 }
1562
1563                             }
1564 ,                             {
1565                                 "box" :                                 {
1566                                     "comment" : "",
1567                                     "id" : "obj-81",
1568                                     "index" : 2,
1569                                     "maxclass" : "outlet",
1570                                     "numinlets" : 1,
1571                                     "numoutlets" : 0,
1572                                     "patching_rect" : [ 161.0, 246.0, 30.0, 30.0 ]
1573                                 }
1574
1575                             }
1576 ,                             {
1577                                 "box" :                                 {
1578                                     "comment" : "",
1579                                     "id" : "obj-83",
1580                                     "index" : 3,
1581                                     "maxclass" : "outlet",
1582                                     "numinlets" : 1,
1583                                     "numoutlets" : 0,
1584                                     "patching_rect" : [ 281.0, 246.0, 30.0, 30.0 ]
1585                                 }
1586
1587                             }
1588  ],
1589                         "lines" : [                             {
1590                                 "patchline" :                                 {
1591                                     "destination" : [ "obj-3", 0 ],
1592                                     "source" : [ "obj-1", 0 ]
1593                                 }
1594
1595                             }
1596 ,                             {
1597                                 "patchline" :                                 {
1598                                     "destination" : [ "obj-83", 0 ],
1599                                     "source" : [ "obj-2", 0 ]
1600                                 }
1601
1602                             }
1603 ,                             {
1604                                 "patchline" :                                 {
1605                                     "destination" : [ "obj-2", 0 ],
1606                                     "source" : [ "obj-3", 0 ]
1607                                 }
1608
1609                             }
1610 ,                             {
1611                                 "patchline" :                                 {
1612                                     "destination" : [ "obj-80", 0 ],
1613                                     "source" : [ "obj-49", 0 ]
1614                                 }
1615
1616                             }
1617 ,                             {
1618                                 "patchline" :                                 {
1619                                     "destination" : [ "obj-49", 0 ],
1620                                     "source" : [ "obj-52", 0 ]
1621                                 }
1622
1623                             }
1624 ,                             {
1625                                 "patchline" :                                 {
1626                                     "destination" : [ "obj-63", 0 ],
1627                                     "source" : [ "obj-62", 0 ]
1628                                 }
1629
1630                             }
1631 ,                             {
1632                                 "patchline" :                                 {
1633                                     "destination" : [ "obj-81", 0 ],
1634                                     "source" : [ "obj-63", 0 ]
1635                                 }
1636
1637                             }
1638 ,                             {
1639                                 "patchline" :                                 {
1640                                     "destination" : [ "obj-1", 0 ],
1641                                     "source" : [ "obj-70", 2 ]
1642                                 }
1643
1644                             }
1645 ,                             {
1646                                 "patchline" :                                 {
1647                                     "destination" : [ "obj-52", 0 ],
1648                                     "source" : [ "obj-70", 0 ]
1649                                 }
1650
1651                             }
1652 ,                             {
1653                                 "patchline" :                                 {
1654                                     "destination" : [ "obj-62", 0 ],
1655                                     "source" : [ "obj-70", 1 ]
1656                                 }
1657
1658                             }
1659 ,                             {
1660                                 "patchline" :                                 {
1661                                     "destination" : [ "obj-70", 0 ],
1662                                     "source" : [ "obj-79", 0 ]
1663                                 }
1664
1665                             }
1666  ]
1667                     }
1668 ,
804189 1669                     "patching_rect" : [ 1173.0, 220.212764382362366, 190.0, 22.0 ],
9dafdb 1670                     "saved_object_attributes" :                     {
MS 1671                         "description" : "",
1672                         "digest" : "",
1673                         "globalpatchername" : "",
1674                         "tags" : ""
1675                     }
1676 ,
1677                     "text" : "p polar"
1678                 }
1679
1680             }
1681 ,             {
1682                 "box" :                 {
1683                     "fontname" : "Arial",
1684                     "fontsize" : 13.0,
1685                     "id" : "obj-82",
1686                     "maxclass" : "message",
1687                     "numinlets" : 2,
1688                     "numoutlets" : 1,
1689                     "outlettype" : [ "" ],
1690                     "patching_rect" : [ 998.0, 65.0, 163.0, 23.0 ],
1691                     "text" : "push_to_coll spherical-grid"
1692                 }
1693
1694             }
1695 ,             {
1696                 "box" :                 {
1697                     "id" : "obj-48",
1698                     "maxclass" : "message",
1699                     "numinlets" : 2,
1700                     "numoutlets" : 1,
1701                     "outlettype" : [ "" ],
1702                     "patching_rect" : [ 978.0, 34.0, 183.0, 22.0 ],
1703                     "text" : "import EnergyVisualizerGrid.json"
1704                 }
1705
1706             }
1707 ,             {
1708                 "box" :                 {
1709                     "id" : "obj-46",
1710                     "maxclass" : "newobj",
1711                     "numinlets" : 2,
804189 1712                     "numoutlets" : 5,
MS 1713                     "outlettype" : [ "dictionary", "", "", "", "" ],
9dafdb 1714                     "patching_rect" : [ 978.0, 114.0, 244.0, 22.0 ],
MS 1715                     "saved_object_attributes" :                     {
1716                         "embed" : 0,
804189 1717                         "legacy" : 1,
9dafdb 1718                         "parameter_enable" : 0,
MS 1719                         "parameter_mappable" : 0
1720                     }
1721 ,
1722                     "text" : "dict spherical-grid EnergyVisualizerGrid.json"
1723                 }
1724
1725             }
1726 ,             {
1727                 "box" :                 {
1728                     "id" : "obj-5",
1729                     "maxclass" : "newobj",
804189 1730                     "numinlets" : 1,
9dafdb 1731                     "numoutlets" : 1,
MS 1732                     "outlettype" : [ "" ],
1733                     "patcher" :                     {
1734                         "fileversion" : 1,
1735                         "appversion" :                         {
1736                             "major" : 8,
804189 1737                             "minor" : 6,
MS 1738                             "revision" : 3,
9dafdb 1739                             "architecture" : "x64",
MS 1740                             "modernui" : 1
1741                         }
1742 ,
1743                         "classnamespace" : "box",
804189 1744                         "rect" : [ -1550.0, 279.0, 640.0, 525.0 ],
9dafdb 1745                         "bglocked" : 0,
MS 1746                         "openinpresentation" : 0,
1747                         "default_fontsize" : 12.0,
1748                         "default_fontface" : 0,
1749                         "default_fontname" : "Arial",
1750                         "gridonopen" : 1,
1751                         "gridsize" : [ 15.0, 15.0 ],
1752                         "gridsnaponopen" : 1,
1753                         "objectsnaponopen" : 1,
1754                         "statusbarvisible" : 2,
1755                         "toolbarvisible" : 1,
1756                         "lefttoolbarpinned" : 0,
1757                         "toptoolbarpinned" : 0,
1758                         "righttoolbarpinned" : 0,
1759                         "bottomtoolbarpinned" : 0,
1760                         "toolbars_unpinned_last_save" : 0,
1761                         "tallnewobj" : 0,
1762                         "boxanimatetime" : 200,
1763                         "enablehscroll" : 1,
1764                         "enablevscroll" : 1,
1765                         "devicewidth" : 0.0,
1766                         "description" : "",
1767                         "digest" : "",
1768                         "tags" : "",
1769                         "style" : "",
1770                         "subpatcher_template" : "",
1771                         "assistshowspatchername" : 0,
1772                         "boxes" : [                             {
1773                                 "box" :                                 {
804189 1774                                     "id" : "obj-2",
MS 1775                                     "maxclass" : "newobj",
1776                                     "numinlets" : 1,
1777                                     "numoutlets" : 1,
1778                                     "outlettype" : [ "" ],
1779                                     "patching_rect" : [ 420.0, 211.0, 80.0, 22.0 ],
1780                                     "text" : "loadmess 60."
1781                                 }
1782
1783                             }
1784 ,                             {
1785                                 "box" :                                 {
1786                                     "comment" : "",
1787                                     "id" : "obj-31",
1788                                     "index" : 1,
1789                                     "maxclass" : "inlet",
1790                                     "numinlets" : 0,
1791                                     "numoutlets" : 1,
1792                                     "outlettype" : [ "" ],
1793                                     "patching_rect" : [ 206.0, 40.0, 30.0, 30.0 ]
1794                                 }
1795
1796                             }
1797 ,                             {
1798                                 "box" :                                 {
1799                                     "id" : "obj-30",
1800                                     "maxclass" : "message",
1801                                     "numinlets" : 2,
1802                                     "numoutlets" : 1,
1803                                     "outlettype" : [ "" ],
1804                                     "patching_rect" : [ 134.0, 224.0, 29.5, 22.0 ],
1805                                     "text" : "100"
1806                                 }
1807
1808                             }
1809 ,                             {
1810                                 "box" :                                 {
1811                                     "id" : "obj-29",
1812                                     "maxclass" : "message",
1813                                     "numinlets" : 2,
1814                                     "numoutlets" : 1,
1815                                     "outlettype" : [ "" ],
1816                                     "patching_rect" : [ 146.5, 186.0, 29.5, 22.0 ],
1817                                     "text" : "0.1"
1818                                 }
1819
1820                             }
1821 ,                             {
1822                                 "box" :                                 {
1823                                     "id" : "obj-27",
1824                                     "maxclass" : "newobj",
1825                                     "numinlets" : 3,
1826                                     "numoutlets" : 3,
1827                                     "outlettype" : [ "bang", "bang", "" ],
1828                                     "patching_rect" : [ 134.0, 154.0, 44.0, 22.0 ],
1829                                     "text" : "sel 1 2"
1830                                 }
1831
1832                             }
1833 ,                             {
1834                                 "box" :                                 {
1835                                     "id" : "obj-26",
1836                                     "maxclass" : "newobj",
1837                                     "numinlets" : 1,
1838                                     "numoutlets" : 0,
1839                                     "patching_rect" : [ 135.5, 266.0, 41.0, 22.0 ],
1840                                     "text" : "s amp"
1841                                 }
1842
1843                             }
1844 ,                             {
1845                                 "box" :                                 {
1846                                     "id" : "obj-25",
1847                                     "maxclass" : "number",
1848                                     "numinlets" : 1,
1849                                     "numoutlets" : 2,
1850                                     "outlettype" : [ "", "bang" ],
1851                                     "parameter_enable" : 0,
1852                                     "patching_rect" : [ 206.0, 90.0, 50.0, 22.0 ]
1853                                 }
1854
1855                             }
1856 ,                             {
1857                                 "box" :                                 {
1858                                     "id" : "obj-21",
1859                                     "maxclass" : "newobj",
1860                                     "numinlets" : 2,
1861                                     "numoutlets" : 2,
1862                                     "outlettype" : [ "", "" ],
1863                                     "patching_rect" : [ 247.0, 161.0, 42.0, 22.0 ],
1864                                     "text" : "gate 2"
1865                                 }
1866
1867                             }
1868 ,                             {
1869                                 "box" :                                 {
1870                                     "id" : "obj-16",
1871                                     "maxclass" : "newobj",
1872                                     "numinlets" : 2,
1873                                     "numoutlets" : 1,
1874                                     "outlettype" : [ "" ],
1875                                     "patching_rect" : [ 270.0, 251.0, 169.0, 22.0 ],
1876                                     "text" : "vexpr $f1+$f2 @scalarmode 1"
1877                                 }
1878
1879                             }
1880 ,                             {
1881                                 "box" :                                 {
1882                                     "id" : "obj-15",
1883                                     "maxclass" : "newobj",
1884                                     "numinlets" : 1,
1885                                     "numoutlets" : 0,
1886                                     "patching_rect" : [ 70.0, 358.0, 32.0, 22.0 ],
1887                                     "text" : "print"
1888                                 }
1889
1890                             }
1891 ,                             {
1892                                 "box" :                                 {
1893                                     "id" : "obj-14",
1894                                     "maxclass" : "newobj",
1895                                     "numinlets" : 2,
1896                                     "numoutlets" : 2,
1897                                     "outlettype" : [ "", "" ],
1898                                     "patching_rect" : [ 70.0, 319.0, 55.0, 22.0 ],
1899                                     "text" : "zl slice 3"
1900                                 }
1901
1902                             }
1903 ,                             {
1904                                 "box" :                                 {
1905                                     "id" : "obj-13",
1906                                     "maxclass" : "newobj",
1907                                     "numinlets" : 1,
1908                                     "numoutlets" : 1,
1909                                     "outlettype" : [ "" ],
1910                                     "patching_rect" : [ 270.0, 211.0, 39.0, 22.0 ],
1911                                     "text" : "atodb"
1912                                 }
1913
1914                             }
1915 ,                             {
1916                                 "box" :                                 {
1917                                     "id" : "obj-3",
1918                                     "maxclass" : "button",
1919                                     "numinlets" : 1,
1920                                     "numoutlets" : 1,
1921                                     "outlettype" : [ "bang" ],
1922                                     "parameter_enable" : 0,
1923                                     "patching_rect" : [ 459.0, 130.0, 24.0, 24.0 ]
1924                                 }
1925
1926                             }
1927 ,                             {
1928                                 "box" :                                 {
9dafdb 1929                                     "comment" : "",
MS 1930                                     "id" : "obj-4",
1931                                     "index" : 1,
1932                                     "maxclass" : "outlet",
1933                                     "numinlets" : 1,
1934                                     "numoutlets" : 0,
804189 1935                                     "patching_rect" : [ 247.0, 295.0, 30.0, 30.0 ]
9dafdb 1936                                 }
MS 1937
1938                             }
1939 ,                             {
1940                                 "box" :                                 {
1941                                     "id" : "obj-5",
1942                                     "maxclass" : "newobj",
1943                                     "numinlets" : 2,
1944                                     "numoutlets" : 2,
1945                                     "outlettype" : [ "", "" ],
804189 1946                                     "patching_rect" : [ 268.5, 90.0, 162.0, 22.0 ],
9dafdb 1947                                     "text" : "route /EnergyVisualizer/RMS"
MS 1948                                 }
1949
1950                             }
1951 ,                             {
1952                                 "box" :                                 {
1953                                     "id" : "obj-1",
1954                                     "maxclass" : "newobj",
1955                                     "numinlets" : 1,
1956                                     "numoutlets" : 1,
1957                                     "outlettype" : [ "" ],
804189 1958                                     "patching_rect" : [ 268.5, 53.0, 97.0, 22.0 ],
9dafdb 1959                                     "text" : "udpreceive 9010"
MS 1960                                 }
1961
1962                             }
1963  ],
1964                         "lines" : [                             {
1965                                 "patchline" :                                 {
804189 1966                                     "destination" : [ "obj-3", 0 ],
MS 1967                                     "order" : 0,
9dafdb 1968                                     "source" : [ "obj-1", 0 ]
MS 1969                                 }
1970
1971                             }
1972 ,                             {
1973                                 "patchline" :                                 {
804189 1974                                     "destination" : [ "obj-5", 0 ],
MS 1975                                     "order" : 1,
1976                                     "source" : [ "obj-1", 0 ]
1977                                 }
1978
1979                             }
1980 ,                             {
1981                                 "patchline" :                                 {
1982                                     "destination" : [ "obj-16", 0 ],
1983                                     "source" : [ "obj-13", 0 ]
1984                                 }
1985
1986                             }
1987 ,                             {
1988                                 "patchline" :                                 {
1989                                     "destination" : [ "obj-15", 0 ],
1990                                     "source" : [ "obj-14", 0 ]
9dafdb 1991                                 }
MS 1992
1993                             }
1994 ,                             {
1995                                 "patchline" :                                 {
1996                                     "destination" : [ "obj-4", 0 ],
804189 1997                                     "source" : [ "obj-16", 0 ]
9dafdb 1998                                 }
MS 1999
2000                             }
2001 ,                             {
2002                                 "patchline" :                                 {
804189 2003                                     "destination" : [ "obj-16", 1 ],
MS 2004                                     "source" : [ "obj-2", 0 ]
2005                                 }
2006
2007                             }
2008 ,                             {
2009                                 "patchline" :                                 {
2010                                     "destination" : [ "obj-13", 0 ],
2011                                     "source" : [ "obj-21", 1 ]
2012                                 }
2013
2014                             }
2015 ,                             {
2016                                 "patchline" :                                 {
2017                                     "destination" : [ "obj-4", 0 ],
2018                                     "source" : [ "obj-21", 0 ]
2019                                 }
2020
2021                             }
2022 ,                             {
2023                                 "patchline" :                                 {
2024                                     "destination" : [ "obj-21", 0 ],
9dafdb 2025                                     "order" : 0,
804189 2026                                     "source" : [ "obj-25", 0 ]
9dafdb 2027                                 }
MS 2028
2029                             }
2030 ,                             {
2031                                 "patchline" :                                 {
804189 2032                                     "destination" : [ "obj-27", 0 ],
MS 2033                                     "order" : 1,
2034                                     "source" : [ "obj-25", 0 ]
2035                                 }
2036
2037                             }
2038 ,                             {
2039                                 "patchline" :                                 {
2040                                     "destination" : [ "obj-29", 0 ],
2041                                     "source" : [ "obj-27", 1 ]
2042                                 }
2043
2044                             }
2045 ,                             {
2046                                 "patchline" :                                 {
2047                                     "destination" : [ "obj-30", 0 ],
2048                                     "source" : [ "obj-27", 0 ]
2049                                 }
2050
2051                             }
2052 ,                             {
2053                                 "patchline" :                                 {
2054                                     "destination" : [ "obj-26", 0 ],
2055                                     "source" : [ "obj-29", 0 ]
2056                                 }
2057
2058                             }
2059 ,                             {
2060                                 "patchline" :                                 {
2061                                     "destination" : [ "obj-26", 0 ],
2062                                     "source" : [ "obj-30", 0 ]
2063                                 }
2064
2065                             }
2066 ,                             {
2067                                 "patchline" :                                 {
2068                                     "destination" : [ "obj-25", 0 ],
2069                                     "source" : [ "obj-31", 0 ]
2070                                 }
2071
2072                             }
2073 ,                             {
2074                                 "patchline" :                                 {
2075                                     "destination" : [ "obj-21", 1 ],
2076                                     "source" : [ "obj-5", 0 ]
9dafdb 2077                                 }
MS 2078
2079                             }
2080  ]
2081                     }
2082 ,
804189 2083                     "patching_rect" : [ 1370.0, 107.446807742118835, 119.0, 22.0 ],
9dafdb 2084                     "saved_object_attributes" :                     {
MS 2085                         "description" : "",
2086                         "digest" : "",
2087                         "globalpatchername" : "",
2088                         "tags" : ""
2089                     }
2090 ,
2091                     "text" : "p receive rms values"
2092                 }
2093
2094             }
2095 ,             {
2096                 "box" :                 {
2097                     "bubble" : 1,
2098                     "id" : "obj-4",
2099                     "maxclass" : "comment",
2100                     "numinlets" : 1,
2101                     "numoutlets" : 0,
804189 2102                     "patching_rect" : [ 559.574464082717896, 347.872337937355042, 193.0, 24.0 ],
9dafdb 2103                     "text" : "change distance threshold here"
MS 2104                 }
2105
2106             }
2107 ,             {
2108                 "box" :                 {
2109                     "id" : "obj-15",
2110                     "maxclass" : "newobj",
2111                     "numinlets" : 9,
2112                     "numoutlets" : 2,
2113                     "outlettype" : [ "", "" ],
804189 2114                     "patching_rect" : [ 113.5, 677.659569621086121, 523.0, 22.0 ],
MS 2115                     "text" : "jit.gl.mesh game @draw_mode points @color 1 1 1 1 @point_size 50 @point_mode circle_depth"
9dafdb 2116                 }
MS 2117
2118             }
2119 ,             {
2120                 "box" :                 {
2121                     "format" : 6,
2122                     "id" : "obj-18",
2123                     "maxclass" : "flonum",
2124                     "numinlets" : 1,
2125                     "numoutlets" : 2,
2126                     "outlettype" : [ "", "bang" ],
2127                     "parameter_enable" : 0,
804189 2128                     "patching_rect" : [ 507.446804881095886, 348.93616771697998, 50.0, 22.0 ]
9dafdb 2129                 }
MS 2130
2131             }
2132 ,             {
2133                 "box" :                 {
2134                     "id" : "obj-16",
2135                     "maxclass" : "message",
2136                     "numinlets" : 2,
2137                     "numoutlets" : 1,
2138                     "outlettype" : [ "" ],
804189 2139                     "patching_rect" : [ 507.446804881095886, 387.234039783477783, 97.0, 22.0 ],
9dafdb 2140                     "text" : "distThreshold $1"
MS 2141                 }
2142
2143             }
2144 ,             {
2145                 "box" :                 {
2146                     "id" : "obj-14",
2147                     "maxclass" : "newobj",
2148                     "numinlets" : 1,
2149                     "numoutlets" : 1,
2150                     "outlettype" : [ "" ],
804189 2151                     "patching_rect" : [ 507.446804881095886, 418.085103392601013, 90.0, 22.0 ],
9dafdb 2152                     "text" : "prepend param"
MS 2153                 }
2154
2155             }
2156 ,             {
2157                 "box" :                 {
2158                     "id" : "obj-13",
2159                     "maxclass" : "newobj",
2160                     "numinlets" : 1,
2161                     "numoutlets" : 2,
2162                     "outlettype" : [ "jit_gl_buffer", "" ],
804189 2163                     "patching_rect" : [ 146.808509588241577, 447.169832110404968, 205.0, 22.0 ],
9dafdb 2164                     "text" : "jit.gl.buffer @type position @texbuf 1"
MS 2165                 }
2166
2167             }
2168 ,             {
2169                 "box" :                 {
2170                     "id" : "obj-11",
2171                     "maxclass" : "newobj",
2172                     "numinlets" : 1,
2173                     "numoutlets" : 2,
2174                     "outlettype" : [ "", "" ],
804189 2175                     "patching_rect" : [ 507.446804881095886, 452.12765634059906, 326.0, 22.0 ],
9dafdb 2176                     "text" : "jit.gl.shader game @name shadyLines @file shadyLines.jxs"
MS 2177                 }
2178
2179             }
2180 ,             {
2181                 "box" :                 {
2182                     "id" : "obj-8",
2183                     "maxclass" : "newobj",
2184                     "numinlets" : 9,
2185                     "numoutlets" : 2,
2186                     "outlettype" : [ "", "" ],
2187                     "patching_rect" : [ 120.814444065093994, 521.5691938996315, 758.0, 22.0 ],
2188                     "text" : "jit.gl.mesh game @draw_mode points @color 1 1 1 1 @point_size 10 @shader shadyLines @blend_enable 1 @depth_enable 0 @blend add"
2189                 }
2190
2191             }
2192 ,             {
2193                 "box" :                 {
2194                     "id" : "obj-19",
2195                     "maxclass" : "message",
2196                     "numinlets" : 2,
2197                     "numoutlets" : 1,
2198                     "outlettype" : [ "" ],
804189 2199                     "patching_rect" : [ 131.182801485061646, 45.161292314529419, 70.0, 22.0 ],
9dafdb 2200                     "text" : "anim_reset"
MS 2201                 }
2202
2203             }
2204 ,             {
2205                 "box" :                 {
2206                     "id" : "obj-6",
2207                     "maxclass" : "newobj",
2208                     "numinlets" : 1,
2209                     "numoutlets" : 2,
2210                     "outlettype" : [ "", "" ],
804189 2211                     "patching_rect" : [ 204.0, 80.5, 210.0, 22.0 ],
9dafdb 2212                     "text" : "jit.anim.drive @ui_listen 1 @speed 20"
MS 2213                 }
2214
2215             }
2216 ,             {
2217                 "box" :                 {
2218                     "fontface" : 0,
2219                     "fontname" : "Arial",
2220                     "fontsize" : 12.0,
2221                     "id" : "obj-12",
2222                     "maxclass" : "jit.fpsgui",
2223                     "numinlets" : 1,
2224                     "numoutlets" : 2,
2225                     "outlettype" : [ "", "" ],
804189 2226                     "patching_rect" : [ 419.5, 188.172051310539246, 80.0, 35.0 ]
9dafdb 2227                 }
MS 2228
2229             }
2230 ,             {
2231                 "box" :                 {
2232                     "id" : "obj-10",
2233                     "maxclass" : "newobj",
2234                     "numinlets" : 1,
2235                     "numoutlets" : 2,
2236                     "outlettype" : [ "jit_gl_texture", "" ],
2237                     "patching_rect" : [ 204.0, 114.0, 397.0, 22.0 ],
2238                     "text" : "jit.gl.camera game @position 0 0 2 @lookat 0 0 0 @tripod 1 @locklook 1"
2239                 }
2240
2241             }
2242 ,             {
2243                 "box" :                 {
2244                     "id" : "obj-3",
2245                     "maxclass" : "toggle",
2246                     "numinlets" : 1,
2247                     "numoutlets" : 1,
2248                     "outlettype" : [ "int" ],
2249                     "parameter_enable" : 0,
2250                     "patching_rect" : [ 87.0, 114.0, 24.0, 24.0 ]
2251                 }
2252
2253             }
2254 ,             {
2255                 "box" :                 {
2256                     "id" : "obj-2",
2257                     "maxclass" : "newobj",
2258                     "numinlets" : 1,
2259                     "numoutlets" : 3,
2260                     "outlettype" : [ "jit_matrix", "bang", "" ],
2261                     "patching_rect" : [ 87.0, 147.599990844726562, 684.0, 22.0 ],
2262                     "text" : "jit.world game @fsaa 1 @size 320 240 @windowposition 1500 100 @floating 1 @erase_color 0 0 0 1 @fsmenubar 0 @fps 120"
2263                 }
2264
2265             }
2266  ],
2267         "lines" : [             {
2268                 "patchline" :                 {
2269                     "destination" : [ "obj-15", 0 ],
2270                     "source" : [ "obj-1", 0 ]
2271                 }
2272
2273             }
2274 ,             {
2275                 "patchline" :                 {
2276                     "destination" : [ "obj-109", 0 ],
2277                     "source" : [ "obj-108", 0 ]
2278                 }
2279
2280             }
2281 ,             {
2282                 "patchline" :                 {
2283                     "destination" : [ "obj-15", 0 ],
804189 2284                     "order" : 1,
MS 2285                     "source" : [ "obj-109", 0 ]
2286                 }
2287
2288             }
2289 ,             {
2290                 "patchline" :                 {
2291                     "destination" : [ "obj-8", 0 ],
2292                     "order" : 0,
9dafdb 2293                     "source" : [ "obj-109", 0 ]
MS 2294                 }
2295
2296             }
2297 ,             {
2298                 "patchline" :                 {
2299                     "destination" : [ "obj-111", 0 ],
2300                     "source" : [ "obj-110", 0 ]
2301                 }
2302
2303             }
2304 ,             {
2305                 "patchline" :                 {
2306                     "destination" : [ "obj-15", 0 ],
2307                     "source" : [ "obj-111", 0 ]
2308                 }
2309
2310             }
2311 ,             {
2312                 "patchline" :                 {
804189 2313                     "destination" : [ "obj-32", 0 ],
9dafdb 2314                     "order" : 0,
MS 2315                     "source" : [ "obj-112", 0 ]
2316                 }
2317
2318             }
2319 ,             {
2320                 "patchline" :                 {
804189 2321                     "destination" : [ "obj-57", 0 ],
9dafdb 2322                     "order" : 1,
MS 2323                     "source" : [ "obj-112", 0 ]
2324                 }
2325
2326             }
2327 ,             {
2328                 "patchline" :                 {
2329                     "destination" : [ "obj-112", 0 ],
2330                     "source" : [ "obj-114", 0 ]
2331                 }
2332
2333             }
2334 ,             {
2335                 "patchline" :                 {
2336                     "destination" : [ "obj-112", 0 ],
2337                     "source" : [ "obj-123", 0 ]
2338                 }
2339
2340             }
2341 ,             {
2342                 "patchline" :                 {
2343                     "destination" : [ "obj-112", 0 ],
2344                     "source" : [ "obj-124", 0 ]
2345                 }
2346
2347             }
2348 ,             {
2349                 "patchline" :                 {
804189 2350                     "destination" : [ "obj-55", 0 ],
9dafdb 2351                     "source" : [ "obj-125", 0 ]
MS 2352                 }
2353
2354             }
2355 ,             {
2356                 "patchline" :                 {
804189 2357                     "destination" : [ "obj-9", 0 ],
9dafdb 2358                     "source" : [ "obj-127", 0 ]
MS 2359                 }
2360
2361             }
2362 ,             {
2363                 "patchline" :                 {
2364                     "destination" : [ "obj-15", 0 ],
2365                     "order" : 1,
2366                     "source" : [ "obj-13", 0 ]
2367                 }
2368
2369             }
2370 ,             {
2371                 "patchline" :                 {
2372                     "destination" : [ "obj-8", 0 ],
2373                     "order" : 0,
2374                     "source" : [ "obj-13", 0 ]
2375                 }
2376
2377             }
2378 ,             {
2379                 "patchline" :                 {
2380                     "destination" : [ "obj-11", 0 ],
2381                     "source" : [ "obj-14", 0 ]
2382                 }
2383
2384             }
2385 ,             {
2386                 "patchline" :                 {
2387                     "destination" : [ "obj-14", 0 ],
2388                     "source" : [ "obj-16", 0 ]
2389                 }
2390
2391             }
2392 ,             {
2393                 "patchline" :                 {
804189 2394                     "destination" : [ "obj-40", 0 ],
MS 2395                     "source" : [ "obj-17", 0 ]
2396                 }
2397
2398             }
2399 ,             {
2400                 "patchline" :                 {
9dafdb 2401                     "destination" : [ "obj-16", 0 ],
MS 2402                     "source" : [ "obj-18", 0 ]
2403                 }
2404
2405             }
2406 ,             {
2407                 "patchline" :                 {
2408                     "destination" : [ "obj-10", 0 ],
804189 2409                     "order" : 0,
9dafdb 2410                     "source" : [ "obj-19", 0 ]
MS 2411                 }
2412
2413             }
2414 ,             {
2415                 "patchline" :                 {
2416                     "destination" : [ "obj-6", 0 ],
804189 2417                     "order" : 1,
9dafdb 2418                     "source" : [ "obj-19", 0 ]
MS 2419                 }
2420
2421             }
2422 ,             {
2423                 "patchline" :                 {
2424                     "destination" : [ "obj-12", 0 ],
2425                     "source" : [ "obj-2", 1 ]
2426                 }
2427
2428             }
2429 ,             {
2430                 "patchline" :                 {
804189 2431                     "destination" : [ "obj-27", 0 ],
9dafdb 2432                     "source" : [ "obj-24", 0 ]
MS 2433                 }
2434
2435             }
2436 ,             {
2437                 "patchline" :                 {
2438                     "destination" : [ "obj-27", 0 ],
2439                     "source" : [ "obj-25", 0 ]
2440                 }
2441
2442             }
2443 ,             {
2444                 "patchline" :                 {
804189 2445                     "destination" : [ "obj-37", 0 ],
9dafdb 2446                     "source" : [ "obj-26", 0 ]
MS 2447                 }
2448
2449             }
2450 ,             {
2451                 "patchline" :                 {
804189 2452                     "destination" : [ "obj-17", 0 ],
9dafdb 2453                     "source" : [ "obj-27", 0 ]
MS 2454                 }
2455
2456             }
2457 ,             {
2458                 "patchline" :                 {
804189 2459                     "destination" : [ "obj-27", 0 ],
MS 2460                     "source" : [ "obj-28", 0 ]
9dafdb 2461                 }
MS 2462
2463             }
2464 ,             {
2465                 "patchline" :                 {
2466                     "destination" : [ "obj-2", 0 ],
2467                     "source" : [ "obj-3", 0 ]
2468                 }
2469
2470             }
2471 ,             {
2472                 "patchline" :                 {
804189 2473                     "destination" : [ "obj-70", 0 ],
9dafdb 2474                     "source" : [ "obj-32", 0 ]
MS 2475                 }
2476
2477             }
2478 ,             {
2479                 "patchline" :                 {
804189 2480                     "destination" : [ "obj-38", 0 ],
9dafdb 2481                     "source" : [ "obj-34", 0 ]
MS 2482                 }
2483
2484             }
2485 ,             {
2486                 "patchline" :                 {
2487                     "destination" : [ "obj-34", 0 ],
804189 2488                     "source" : [ "obj-37", 0 ]
MS 2489                 }
2490
2491             }
2492 ,             {
2493                 "patchline" :                 {
2494                     "destination" : [ "obj-17", 0 ],
2495                     "source" : [ "obj-38", 1 ]
2496                 }
2497
2498             }
2499 ,             {
2500                 "patchline" :                 {
2501                     "destination" : [ "obj-85", 0 ],
9dafdb 2502                     "source" : [ "obj-38", 0 ]
MS 2503                 }
2504
2505             }
2506 ,             {
2507                 "patchline" :                 {
804189 2508                     "destination" : [ "obj-68", 0 ],
9dafdb 2509                     "source" : [ "obj-40", 0 ]
MS 2510                 }
2511
2512             }
2513 ,             {
2514                 "patchline" :                 {
2515                     "destination" : [ "obj-40", 0 ],
2516                     "source" : [ "obj-42", 0 ]
804189 2517                 }
MS 2518
2519             }
2520 ,             {
2521                 "patchline" :                 {
2522                     "destination" : [ "obj-40", 0 ],
2523                     "source" : [ "obj-43", 0 ]
2524                 }
2525
2526             }
2527 ,             {
2528                 "patchline" :                 {
2529                     "destination" : [ "obj-2", 0 ],
2530                     "source" : [ "obj-44", 0 ]
2531                 }
2532
2533             }
2534 ,             {
2535                 "patchline" :                 {
2536                     "destination" : [ "obj-47", 0 ],
2537                     "source" : [ "obj-45", 0 ]
2538                 }
2539
2540             }
2541 ,             {
2542                 "patchline" :                 {
2543                     "destination" : [ "obj-17", 0 ],
2544                     "source" : [ "obj-47", 0 ]
9dafdb 2545                 }
MS 2546
2547             }
2548 ,             {
2549                 "patchline" :                 {
2550                     "destination" : [ "obj-46", 0 ],
2551                     "source" : [ "obj-48", 0 ]
2552                 }
2553
2554             }
2555 ,             {
2556                 "patchline" :                 {
2557                     "destination" : [ "obj-15", 0 ],
2558                     "source" : [ "obj-49", 0 ]
2559                 }
2560
2561             }
2562 ,             {
2563                 "patchline" :                 {
2564                     "destination" : [ "obj-102", 0 ],
2565                     "order" : 0,
2566                     "source" : [ "obj-5", 0 ]
2567                 }
2568
2569             }
2570 ,             {
2571                 "patchline" :                 {
804189 2572                     "destination" : [ "obj-61", 0 ],
9dafdb 2573                     "order" : 1,
MS 2574                     "source" : [ "obj-5", 0 ]
2575                 }
2576
2577             }
2578 ,             {
2579                 "patchline" :                 {
804189 2580                     "destination" : [ "obj-45", 0 ],
MS 2581                     "source" : [ "obj-50", 0 ]
2582                 }
2583
2584             }
2585 ,             {
2586                 "patchline" :                 {
2587                     "destination" : [ "obj-56", 0 ],
2588                     "source" : [ "obj-51", 0 ]
2589                 }
2590
2591             }
2592 ,             {
2593                 "patchline" :                 {
2594                     "destination" : [ "obj-58", 0 ],
9dafdb 2595                     "source" : [ "obj-52", 0 ]
MS 2596                 }
2597
2598             }
2599 ,             {
2600                 "patchline" :                 {
2601                     "destination" : [ "obj-52", 1 ],
2602                     "source" : [ "obj-54", 0 ]
2603                 }
2604
2605             }
2606 ,             {
2607                 "patchline" :                 {
804189 2608                     "destination" : [ "obj-112", 0 ],
MS 2609                     "source" : [ "obj-55", 1 ]
2610                 }
2611
2612             }
2613 ,             {
2614                 "patchline" :                 {
2615                     "destination" : [ "obj-112", 0 ],
2616                     "source" : [ "obj-55", 0 ]
2617                 }
2618
2619             }
2620 ,             {
2621                 "patchline" :                 {
2622                     "destination" : [ "obj-8", 0 ],
2623                     "source" : [ "obj-56", 0 ]
2624                 }
2625
2626             }
2627 ,             {
2628                 "patchline" :                 {
2629                     "destination" : [ "obj-125", 0 ],
2630                     "source" : [ "obj-58", 0 ]
2631                 }
2632
2633             }
2634 ,             {
2635                 "patchline" :                 {
2636                     "destination" : [ "obj-15", 3 ],
2637                     "source" : [ "obj-59", 0 ]
2638                 }
2639
2640             }
2641 ,             {
2642                 "patchline" :                 {
9dafdb 2643                     "destination" : [ "obj-10", 0 ],
MS 2644                     "source" : [ "obj-6", 0 ]
2645                 }
2646
2647             }
2648 ,             {
2649                 "patchline" :                 {
804189 2650                     "destination" : [ "obj-58", 1 ],
MS 2651                     "source" : [ "obj-60", 0 ]
2652                 }
2653
2654             }
2655 ,             {
2656                 "patchline" :                 {
2657                     "destination" : [ "obj-8", 3 ],
9dafdb 2658                     "source" : [ "obj-62", 0 ]
MS 2659                 }
2660
2661             }
2662 ,             {
2663                 "patchline" :                 {
804189 2664                     "destination" : [ "obj-93", 0 ],
MS 2665                     "source" : [ "obj-63", 0 ]
9dafdb 2666                 }
MS 2667
2668             }
2669 ,             {
2670                 "patchline" :                 {
804189 2671                     "destination" : [ "obj-52", 0 ],
MS 2672                     "source" : [ "obj-64", 0 ]
9dafdb 2673                 }
MS 2674
2675             }
2676 ,             {
2677                 "patchline" :                 {
804189 2678                     "destination" : [ "obj-13", 0 ],
9dafdb 2679                     "source" : [ "obj-69", 0 ]
MS 2680                 }
2681
2682             }
2683 ,             {
2684                 "patchline" :                 {
804189 2685                     "destination" : [ "obj-18", 0 ],
MS 2686                     "source" : [ "obj-7", 0 ]
2687                 }
2688
2689             }
2690 ,             {
2691                 "patchline" :                 {
2692                     "destination" : [ "obj-73", 0 ],
9dafdb 2693                     "source" : [ "obj-72", 0 ]
804189 2694                 }
MS 2695
2696             }
2697 ,             {
2698                 "patchline" :                 {
2699                     "destination" : [ "obj-8", 0 ],
2700                     "source" : [ "obj-73", 0 ]
2701                 }
2702
2703             }
2704 ,             {
2705                 "patchline" :                 {
2706                     "destination" : [ "obj-5", 0 ],
2707                     "source" : [ "obj-74", 0 ]
9dafdb 2708                 }
MS 2709
2710             }
2711 ,             {
2712                 "patchline" :                 {
2713                     "destination" : [ "obj-46", 0 ],
2714                     "source" : [ "obj-82", 0 ]
2715                 }
2716
2717             }
2718 ,             {
2719                 "patchline" :                 {
2720                     "destination" : [ "obj-114", 0 ],
2721                     "order" : 1,
804189 2722                     "source" : [ "obj-85", 0 ]
9dafdb 2723                 }
MS 2724
2725             }
2726 ,             {
2727                 "patchline" :                 {
2728                     "destination" : [ "obj-123", 0 ],
2729                     "order" : 1,
804189 2730                     "source" : [ "obj-85", 1 ]
9dafdb 2731                 }
MS 2732
2733             }
2734 ,             {
2735                 "patchline" :                 {
2736                     "destination" : [ "obj-124", 0 ],
2737                     "order" : 1,
804189 2738                     "source" : [ "obj-85", 2 ]
9dafdb 2739                 }
MS 2740
2741             }
2742 ,             {
2743                 "patchline" :                 {
804189 2744                     "destination" : [ "obj-25", 0 ],
9dafdb 2745                     "order" : 0,
804189 2746                     "source" : [ "obj-85", 1 ]
9dafdb 2747                 }
MS 2748
2749             }
2750 ,             {
2751                 "patchline" :                 {
804189 2752                     "destination" : [ "obj-28", 0 ],
9dafdb 2753                     "order" : 0,
804189 2754                     "source" : [ "obj-85", 0 ]
9dafdb 2755                 }
MS 2756
2757             }
2758 ,             {
2759                 "patchline" :                 {
2760                     "destination" : [ "obj-93", 1 ],
804189 2761                     "midpoints" : [ 1353.5, 281.990932494401932, 1439.5, 281.990932494401932 ],
MS 2762                     "order" : 0,
9dafdb 2763                     "source" : [ "obj-85", 2 ]
MS 2764                 }
2765
2766             }
2767 ,             {
2768                 "patchline" :                 {
2769                     "destination" : [ "obj-85", 0 ],
2770                     "source" : [ "obj-86", 0 ]
2771                 }
2772
2773             }
2774 ,             {
2775                 "patchline" :                 {
804189 2776                     "destination" : [ "obj-112", 0 ],
MS 2777                     "source" : [ "obj-9", 0 ]
9dafdb 2778                 }
MS 2779
2780             }
2781 ,             {
2782                 "patchline" :                 {
804189 2783                     "destination" : [ "obj-32", 1 ],
MS 2784                     "source" : [ "obj-9", 1 ]
9dafdb 2785                 }
MS 2786
2787             }
2788 ,             {
2789                 "patchline" :                 {
804189 2790                     "destination" : [ "obj-24", 0 ],
MS 2791                     "source" : [ "obj-93", 0 ]
9dafdb 2792                 }
MS 2793
2794             }
2795  ],
804189 2796         "dependency_cache" : [  ],
9dafdb 2797         "autosave" : 0
MS 2798     }
2799
2800 }