ysharma/generative_art_lab
0
1{
2 "schema_version": "2",
3 "name": "Generative Art Lab",
4 "references": [
5 {
6 "id": "ref_seed",
7 "role": "reference",
8 "label": "Seed",
9 "asset_type": "number",
10 "inputs": [
11 {
12 "id": "in",
13 "label": "Seed",
14 "type": "number"
15 }
16 ],
17 "outputs": [
18 {
19 "id": "out",
20 "label": "Seed",
21 "type": "number"
22 }
23 ],
24 "data": {
25 "out": 1234
26 },
27 "x": 40,
28 "y": 40,
29 "width": 200,
30 "height": 90
31 },
32 {
33 "id": "ref_palette",
34 "role": "reference",
35 "label": "Palette",
36 "asset_type": "text",
37 "inputs": [
38 {
39 "id": "in",
40 "label": "Palette",
41 "type": "text"
42 }
43 ],
44 "outputs": [
45 {
46 "id": "out",
47 "label": "Palette",
48 "type": "text"
49 }
50 ],
51 "data": {
52 "out": "Neon"
53 },
54 "x": 40,
55 "y": 170,
56 "width": 200,
57 "height": 90
58 },
59 {
60 "id": "ref_complexity",
61 "role": "reference",
62 "label": "Complexity",
63 "asset_type": "number",
64 "inputs": [
65 {
66 "id": "in",
67 "label": "Complexity",
68 "type": "number"
69 }
70 ],
71 "outputs": [
72 {
73 "id": "out",
74 "label": "Complexity",
75 "type": "number"
76 }
77 ],
78 "data": {
79 "out": 5
80 },
81 "x": 40,
82 "y": 300,
83 "width": 200,
84 "height": 90
85 },
86 {
87 "id": "ref_size",
88 "role": "reference",
89 "label": "Size",
90 "asset_type": "number",
91 "inputs": [
92 {
93 "id": "in",
94 "label": "Size",
95 "type": "number"
96 }
97 ],
98 "outputs": [
99 {
100 "id": "out",
101 "label": "Size",
102 "type": "number"
103 }
104 ],
105 "data": {
106 "out": 512
107 },
108 "x": 40,
109 "y": 430,
110 "width": 200,
111 "height": 90
112 }
113 ],
114 "operators": [
115 {
116 "id": "op_generate",
117 "role": "operator",
118 "kind": "fn",
119 "fn": "generate",
120 "label": "generate",
121 "inputs": [
122 {
123 "id": "in_seed",
124 "label": "seed",
125 "type": "number",
126 "required": true
127 },
128 {
129 "id": "in_palette",
130 "label": "palette",
131 "type": "text",
132 "required": true
133 },
134 {
135 "id": "in_complexity",
136 "label": "complexity",
137 "type": "number",
138 "required": true
139 },
140 {
141 "id": "in_size",
142 "label": "size",
143 "type": "number",
144 "required": true
145 }
146 ],
147 "outputs": [
148 {
149 "id": "out_0",
150 "label": "image",
151 "type": "image"
152 }
153 ],
154 "data": {},
155 "x": 320,
156 "y": 200,
157 "width": 220,
158 "height": 210
159 },
160 {
161 "id": "op_poster",
162 "role": "operator",
163 "kind": "fn",
164 "fn": "posterize",
165 "label": "posterize",
166 "inputs": [
167 {
168 "id": "in_image",
169 "label": "image",
170 "type": "image",
171 "required": true
172 }
173 ],
174 "outputs": [
175 {
176 "id": "out_0",
177 "label": "image",
178 "type": "image"
179 }
180 ],
181 "data": {},
182 "x": 640,
183 "y": 40,
184 "width": 220,
185 "height": 120
186 },
187 {
188 "id": "op_glow",
189 "role": "operator",
190 "kind": "fn",
191 "fn": "edge_glow",
192 "label": "edge_glow",
193 "inputs": [
194 {
195 "id": "in_image",
196 "label": "image",
197 "type": "image",
198 "required": true
199 }
200 ],
201 "outputs": [
202 {
203 "id": "out_0",
204 "label": "image",
205 "type": "image"
206 }
207 ],
208 "data": {},
209 "x": 640,
210 "y": 200,
211 "width": 220,
212 "height": 120
213 },
214 {
215 "id": "op_kaleido",
216 "role": "operator",
217 "kind": "fn",
218 "fn": "kaleidoscope",
219 "label": "kaleidoscope",
220 "inputs": [
221 {
222 "id": "in_image",
223 "label": "image",
224 "type": "image",
225 "required": true
226 }
227 ],
228 "outputs": [
229 {
230 "id": "out_0",
231 "label": "image",
232 "type": "image"
233 }
234 ],
235 "data": {},
236 "x": 640,
237 "y": 360,
238 "width": 220,
239 "height": 120
240 }
241 ],
242 "subjects": [
243 {
244 "id": "sub_base",
245 "role": "subject",
246 "label": "Base art",
247 "asset_type": "image",
248 "inputs": [
249 {
250 "id": "in",
251 "label": "Base art",
252 "type": "image"
253 }
254 ],
255 "outputs": [
256 {
257 "id": "out",
258 "label": "Base art",
259 "type": "image"
260 }
261 ],
262 "data": {},
263 "x": 940,
264 "y": 200,
265 "width": 220,
266 "height": 200
267 },
268 {
269 "id": "sub_poster",
270 "role": "subject",
271 "label": "Posterized",
272 "asset_type": "image",
273 "inputs": [
274 {
275 "id": "in",
276 "label": "Posterized",
277 "type": "image"
278 }
279 ],
280 "outputs": [
281 {
282 "id": "out",
283 "label": "Posterized",
284 "type": "image"
285 }
286 ],
287 "data": {},
288 "x": 940,
289 "y": 40,
290 "width": 220,
291 "height": 200
292 },
293 {
294 "id": "sub_glow",
295 "role": "subject",
296 "label": "Edge glow",
297 "asset_type": "image",
298 "inputs": [
299 {
300 "id": "in",
301 "label": "Edge glow",
302 "type": "image"
303 }
304 ],
305 "outputs": [
306 {
307 "id": "out",
308 "label": "Edge glow",
309 "type": "image"
310 }
311 ],
312 "data": {},
313 "x": 940,
314 "y": 360,
315 "width": 220,
316 "height": 200
317 },
318 {
319 "id": "sub_kaleido",
320 "role": "subject",
321 "label": "Kaleidoscope",
322 "asset_type": "image",
323 "inputs": [
324 {
325 "id": "in",
326 "label": "Kaleidoscope",
327 "type": "image"
328 }
329 ],
330 "outputs": [
331 {
332 "id": "out",
333 "label": "Kaleidoscope",
334 "type": "image"
335 }
336 ],
337 "data": {},
338 "x": 940,
339 "y": 520,
340 "width": 220,
341 "height": 200
342 }
343 ],
344 "edges": [
345 {
346 "id": "e1",
347 "from_node_id": "ref_seed",
348 "from_port_id": "out",
349 "to_node_id": "op_generate",
350 "to_port_id": "in_seed",
351 "type": "number"
352 },
353 {
354 "id": "e2",
355 "from_node_id": "ref_palette",
356 "from_port_id": "out",
357 "to_node_id": "op_generate",
358 "to_port_id": "in_palette",
359 "type": "text"
360 },
361 {
362 "id": "e3",
363 "from_node_id": "ref_complexity",
364 "from_port_id": "out",
365 "to_node_id": "op_generate",
366 "to_port_id": "in_complexity",
367 "type": "number"
368 },
369 {
370 "id": "e4",
371 "from_node_id": "ref_size",
372 "from_port_id": "out",
373 "to_node_id": "op_generate",
374 "to_port_id": "in_size",
375 "type": "number"
376 },
377 {
378 "id": "e5",
379 "from_node_id": "op_generate",
380 "from_port_id": "out_0",
381 "to_node_id": "op_poster",
382 "to_port_id": "in_image",
383 "type": "image"
384 },
385 {
386 "id": "e6",
387 "from_node_id": "op_generate",
388 "from_port_id": "out_0",
389 "to_node_id": "op_glow",
390 "to_port_id": "in_image",
391 "type": "image"
392 },
393 {
394 "id": "e7",
395 "from_node_id": "op_generate",
396 "from_port_id": "out_0",
397 "to_node_id": "op_kaleido",
398 "to_port_id": "in_image",
399 "type": "image"
400 },
401 {
402 "id": "e8",
403 "from_node_id": "op_generate",
404 "from_port_id": "out_0",
405 "to_node_id": "sub_base",
406 "to_port_id": "in",
407 "type": "image"
408 },
409 {
410 "id": "e9",
411 "from_node_id": "op_poster",
412 "from_port_id": "out_0",
413 "to_node_id": "sub_poster",
414 "to_port_id": "in",
415 "type": "image"
416 },
417 {
418 "id": "e10",
419 "from_node_id": "op_glow",
420 "from_port_id": "out_0",
421 "to_node_id": "sub_glow",
422 "to_port_id": "in",
423 "type": "image"
424 },
425 {
426 "id": "e11",
427 "from_node_id": "op_kaleido",
428 "from_port_id": "out_0",
429 "to_node_id": "sub_kaleido",
430 "to_port_id": "in",
431 "type": "image"
432 }
433 ]
434}