function2coll

This commit is contained in:
2025-11-23 22:43:58 +01:00
parent 61d9fc336c
commit bf8b0d83ac
4 changed files with 588 additions and 83 deletions

View File

@@ -0,0 +1,489 @@
{
"patcher": {
"fileversion": 1,
"appversion": {
"major": 9,
"minor": 1,
"revision": 0,
"architecture": "x64",
"modernui": 1
},
"classnamespace": "box",
"rect": [ 266.0, 191.0, 1117.0, 722.0 ],
"boxes": [
{
"box": {
"id": "obj-19",
"maxclass": "message",
"numinlets": 2,
"numoutlets": 1,
"outlettype": [ "" ],
"patching_rect": [ 507.37703466415405, 115.57376718521118, 29.5, 22.0 ],
"text": "Luz"
}
},
{
"box": {
"id": "obj-18",
"maxclass": "jit.pwindow",
"numinlets": 1,
"numoutlets": 2,
"outlettype": [ "jit_matrix", "" ],
"patching_rect": [ 583.0, 497.714308, 200.0, 200.0 ],
"sync": 1
}
},
{
"box": {
"id": "obj-17",
"maxclass": "newobj",
"numinlets": 1,
"numoutlets": 2,
"outlettype": [ "", "" ],
"patching_rect": [ 614.5, 458.44155406951904, 135.0, 22.0 ],
"text": "jit.gl.layer servercontext"
}
},
{
"box": {
"id": "obj-16",
"maxclass": "newobj",
"numinlets": 1,
"numoutlets": 2,
"outlettype": [ "jit_matrix", "" ],
"patching_rect": [ 583.0, 398.0, 119.0, 22.0 ],
"text": "jit.lcd 4 char 960 960"
}
},
{
"box": {
"id": "obj-15",
"linecount": 2,
"maxclass": "message",
"numinlets": 2,
"numoutlets": 1,
"outlettype": [ "" ],
"patching_rect": [ 582.7868685722351, 347.5409736633301, 501.0, 35.0 ],
"text": "clear, readpict logo ligetilogo_white.png, drawpict logo 0 0, frgb 0 0 0, font \"Arial Narrow\" 63, moveto 10 850, write $1, moveto 10 940, write $2"
}
},
{
"box": {
"id": "obj-12",
"maxclass": "newobj",
"numinlets": 2,
"numoutlets": 1,
"outlettype": [ "" ],
"patching_rect": [ 583.0, 309.0, 112.0, 22.0 ],
"text": "join"
}
},
{
"box": {
"id": "obj-11",
"maxclass": "newobj",
"numinlets": 2,
"numoutlets": 2,
"outlettype": [ "", "" ],
"patching_rect": [ 676.0, 263.0, 77.0, 22.0 ],
"text": "route symbol"
}
},
{
"box": {
"id": "obj-10",
"maxclass": "newobj",
"numinlets": 2,
"numoutlets": 2,
"outlettype": [ "", "" ],
"patching_rect": [ 583.0, 263.0, 77.0, 22.0 ],
"text": "route symbol"
}
},
{
"box": {
"coll_data": {
"count": 9,
"data": [
{
"key": "Aurora",
"value": [ "Xiao Fu" ]
},
{
"key": "Echoes in the Dreamscape",
"value": [ "Meiyan Chen" ]
},
{
"key": "The soft sparks of the blue mind",
"value": [ "Greg Beller" ]
},
{
"key": "Blue",
"value": [ "Eduardo Loria" ]
},
{
"key": "First Calling",
"value": [ "Goran Lazarevic" ]
},
{
"key": "Hypnagogia",
"value": [ "Xiao Fu" ]
},
{
"key": "The warm winds of the aurora borealis",
"value": [ "Greg Beller" ]
},
{
"key": "Luz",
"value": [ "Xiao Fu" ]
},
{
"key": "The Subtle Glow of the Delighted Being",
"value": [ "Meiyan Chen" ]
}
]
},
"id": "obj-9",
"maxclass": "newobj",
"numinlets": 1,
"numoutlets": 4,
"outlettype": [ "", "", "", "" ],
"patching_rect": [ 583.0, 208.0, 50.5, 22.0 ],
"saved_object_attributes": {
"embed": 1,
"precision": 6
},
"text": "coll"
}
},
{
"box": {
"id": "obj-8",
"maxclass": "message",
"numinlets": 2,
"numoutlets": 1,
"outlettype": [ "" ],
"patching_rect": [ 652.0, 208.0, 50.0, 22.0 ],
"text": "Test-2"
}
},
{
"box": {
"id": "obj-4",
"maxclass": "newobj",
"numinlets": 1,
"numoutlets": 3,
"outlettype": [ "", "", "" ],
"patching_rect": [ 583.0, 124.0, 198.0, 22.0 ],
"restore": [ "Test-2" ],
"saved_object_attributes": {
"parameter_enable": 0,
"parameter_mappable": 0
},
"text": "pattr @bindto ::server::currentPiece",
"varname": "u010020034"
}
},
{
"box": {
"id": "obj-2",
"maxclass": "button",
"numinlets": 1,
"numoutlets": 1,
"outlettype": [ "bang" ],
"parameter_enable": 0,
"patching_rect": [ 583.0, 78.0, 24.0, 24.0 ]
}
},
{
"box": {
"id": "obj-92",
"maxclass": "newobj",
"numinlets": 1,
"numoutlets": 2,
"outlettype": [ "jit_gl_texture", "" ],
"patching_rect": [ 451.0, 162.0, 73.0, 22.0 ],
"text": "jit.gl.camera"
}
},
{
"box": {
"id": "obj-90",
"maxclass": "toggle",
"numinlets": 1,
"numoutlets": 1,
"outlettype": [ "int" ],
"parameter_enable": 1,
"patching_rect": [ 56.0, 60.0, 24.0, 24.0 ],
"saved_attribute_attributes": {
"valueof": {
"parameter_enum": [ "off", "on" ],
"parameter_initial": [ 1.0 ],
"parameter_initial_enable": 1,
"parameter_longname": "toggle",
"parameter_mmax": 1,
"parameter_modmode": 0,
"parameter_shortname": "toggle",
"parameter_type": 2
}
},
"varname": "toggle"
}
},
{
"box": {
"fontface": 0,
"fontname": "Arial",
"fontsize": 12.0,
"id": "obj-88",
"maxclass": "jit.fpsgui",
"numinlets": 1,
"numoutlets": 2,
"outlettype": [ "", "" ],
"patching_rect": [ 81.0, 212.0, 80.0, 35.0 ]
}
},
{
"box": {
"attr": "fps",
"id": "obj-86",
"maxclass": "attrui",
"numinlets": 1,
"numoutlets": 1,
"outlettype": [ "" ],
"parameter_enable": 0,
"patching_rect": [ 185.0, 62.0, 86.0, 22.0 ],
"text_width": 44.0
}
},
{
"box": {
"id": "obj-84",
"maxclass": "newobj",
"numinlets": 1,
"numoutlets": 3,
"outlettype": [ "jit_gl_texture", "bang", "" ],
"patching_rect": [ 56.0, 162.0, 381.0, 22.0 ],
"text": "jit.world servercontext @visible 0 @output_texture 1 @dim 1920 1080"
}
},
{
"box": {
"fontname": "Arial",
"fontsize": 12.0,
"id": "obj-7",
"maxclass": "message",
"numinlets": 2,
"numoutlets": 1,
"outlettype": [ "" ],
"patching_rect": [ 93.0, 61.0, 61.0, 22.0 ],
"text": "visible $1"
}
},
{
"box": {
"id": "obj-5",
"maxclass": "toggle",
"numinlets": 1,
"numoutlets": 1,
"outlettype": [ "int" ],
"parameter_enable": 0,
"patching_rect": [ 93.0, 33.0, 20.0, 20.0 ]
}
},
{
"box": {
"fontname": "Arial",
"fontsize": 12.0,
"id": "obj-3",
"maxclass": "message",
"numinlets": 2,
"numoutlets": 1,
"outlettype": [ "" ],
"patching_rect": [ 192.0, 468.0, 165.0, 22.0 ],
"text": "servername \"Syphon Server\""
}
},
{
"box": {
"fontname": "Arial",
"fontsize": 12.0,
"id": "obj-81",
"maxclass": "comment",
"numinlets": 1,
"numoutlets": 0,
"patching_rect": [ 82.0, 438.0, 271.0, 20.0 ],
"text": "Change the human readable name for the frame."
}
},
{
"box": {
"fontname": "Arial",
"fontsize": 12.0,
"id": "obj-77",
"maxclass": "message",
"numinlets": 2,
"numoutlets": 1,
"outlettype": [ "" ],
"patching_rect": [ 79.0, 468.0, 103.0, 22.0 ],
"text": "servername Jitter"
}
},
{
"box": {
"color": [ 1.0, 0.0, 0.0, 1.0 ],
"fontname": "Arial",
"fontsize": 12.0,
"id": "obj-75",
"maxclass": "newobj",
"numinlets": 2,
"numoutlets": 1,
"outlettype": [ "" ],
"patching_rect": [ 56.0, 511.0, 351.0, 22.0 ],
"text": "jit.gl.syphonserver servercontext @servername \"Syphon Server\""
}
}
],
"lines": [
{
"patchline": {
"destination": [ "obj-12", 0 ],
"source": [ "obj-10", 0 ]
}
},
{
"patchline": {
"destination": [ "obj-12", 1 ],
"source": [ "obj-11", 0 ]
}
},
{
"patchline": {
"destination": [ "obj-15", 0 ],
"source": [ "obj-12", 0 ]
}
},
{
"patchline": {
"destination": [ "obj-16", 0 ],
"source": [ "obj-15", 0 ]
}
},
{
"patchline": {
"destination": [ "obj-17", 0 ],
"order": 0,
"source": [ "obj-16", 0 ]
}
},
{
"patchline": {
"destination": [ "obj-18", 0 ],
"order": 1,
"source": [ "obj-16", 0 ]
}
},
{
"patchline": {
"destination": [ "obj-9", 0 ],
"source": [ "obj-19", 0 ]
}
},
{
"patchline": {
"destination": [ "obj-4", 0 ],
"source": [ "obj-2", 0 ]
}
},
{
"patchline": {
"destination": [ "obj-75", 0 ],
"midpoints": [ 201.5, 498.0, 65.5, 498.0 ],
"source": [ "obj-3", 0 ]
}
},
{
"patchline": {
"destination": [ "obj-8", 1 ],
"order": 0,
"source": [ "obj-4", 0 ]
}
},
{
"patchline": {
"destination": [ "obj-9", 0 ],
"order": 1,
"source": [ "obj-4", 0 ]
}
},
{
"patchline": {
"destination": [ "obj-7", 0 ],
"source": [ "obj-5", 0 ]
}
},
{
"patchline": {
"destination": [ "obj-84", 0 ],
"source": [ "obj-7", 0 ]
}
},
{
"patchline": {
"destination": [ "obj-75", 0 ],
"midpoints": [ 88.5, 498.0, 65.5, 498.0 ],
"source": [ "obj-77", 0 ]
}
},
{
"patchline": {
"destination": [ "obj-16", 0 ],
"source": [ "obj-84", 1 ]
}
},
{
"patchline": {
"destination": [ "obj-75", 0 ],
"order": 1,
"source": [ "obj-84", 0 ]
}
},
{
"patchline": {
"destination": [ "obj-88", 0 ],
"order": 0,
"source": [ "obj-84", 0 ]
}
},
{
"patchline": {
"destination": [ "obj-84", 0 ],
"source": [ "obj-86", 0 ]
}
},
{
"patchline": {
"destination": [ "obj-10", 0 ],
"source": [ "obj-9", 0 ]
}
},
{
"patchline": {
"destination": [ "obj-11", 0 ],
"source": [ "obj-9", 1 ]
}
},
{
"patchline": {
"destination": [ "obj-84", 0 ],
"source": [ "obj-90", 0 ]
}
}
],
"parameters": {
"obj-90": [ "toggle", "toggle", 0 ],
"inherited_shortname": 1
},
"autosave": 0
}
}