-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathx_solid.genjit
More file actions
83 lines (79 loc) · 2.02 KB
/
x_solid.genjit
File metadata and controls
83 lines (79 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 8,
"minor" : 6,
"revision" : 2,
"architecture" : "x64",
"modernui" : 1
}
,
"classnamespace" : "jit.gen",
"rect" : [ 613.0, 298.0, 1040.0, 774.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 1,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 1,
"objectsnaponopen" : 1,
"statusbarvisible" : 2,
"toolbarvisible" : 1,
"lefttoolbarpinned" : 0,
"toptoolbarpinned" : 0,
"righttoolbarpinned" : 0,
"bottomtoolbarpinned" : 0,
"toolbars_unpinned_last_save" : 0,
"tallnewobj" : 0,
"boxanimatetime" : 200,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"description" : "",
"digest" : "",
"tags" : "",
"style" : "",
"subpatcher_template" : "",
"assistshowspatchername" : 0,
"boxes" : [ {
"box" : {
"code" : "Param hue;\r\nParam saturation;\r\nParam brightness(1);\r\n\r\nsolid = vec(1,1,1,0.6);\r\nlightness = 1-(0.5 * saturation);\r\ncolor = vec(hue,saturation,lightness);\r\ncolor = hsl2rgb(color);\r\n\r\ncolor = solid * color;\r\ncolor = color * brightness;\r\n\r\n//color = vec(color,1.0);\r\n\r\nout1 = vec(color.r,color.g,color.b,1);",
"fontface" : 0,
"fontname" : "<Monospaced>",
"fontsize" : 12.0,
"id" : "obj-1",
"maxclass" : "codebox",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 81.75, 28.0, 503.0, 367.0 ]
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-6",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 81.75, 718.0, 37.0, 22.0 ],
"text" : "out 1"
}
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-6", 0 ],
"source" : [ "obj-1", 0 ]
}
}
],
"autosave" : 0,
"bgcolor" : [ 0.9, 0.9, 0.9, 1.0 ],
"editing_bgcolor" : [ 0.9, 0.9, 0.9, 1.0 ]
}
}