-
Notifications
You must be signed in to change notification settings - Fork 3
/
6. Spreads.v4p
725 lines (725 loc) · 43.1 KB
/
6. Spreads.v4p
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
<!DOCTYPE PATCH SYSTEM "http://vvvv.org/versions/vvvv45beta26.dtd" >
<PATCH nodename="C:\kimchiandchips\Workshops\VVVV.Tutorials.Fundamentals\6. Spreads.v4p" filename="C:\kimchiandchips\Workshops\VVVV-basics,mapping\6. Spreads.v4p" locked="0" systemname="6. Spreads">
<BOUNDS height="14025" left="5310" top="600" type="Window" width="16800">
</BOUNDS>
<NODE componentmode="InABox" id="0" nodename="IOBox (String)" systemname="IOBox (String)">
<BOUNDS height="270" left="225" top="150" type="Node" width="1380">
</BOUNDS>
<BOUNDS height="1095" left="225" top="150" type="Box" width="7665">
</BOUNDS>
<PIN encoded="0" pinname="Input String" slicecount="1" visible="0" values="|6. Spreads|">
</PIN>
<PIN pinname="Output String" visible="0">
</PIN>
<PIN pinname="Show Grid" slicecount="1" values="1">
</PIN>
<PIN pinname="String Type" slicecount="1" values="MultiLine">
</PIN>
<PIN pinname="Size" slicecount="1" values="42">
</PIN>
</NODE>
<NODE componentmode="InABox" id="2" nodename="IOBox (String)" systemname="IOBox (String)">
<BOUNDS height="270" left="105" top="12405" type="Node" width="2070">
</BOUNDS>
<BOUNDS height="750" left="105" top="12405" type="Box" width="5325">
</BOUNDS>
<PIN encoded="0" pinname="Input String" slicecount="1" visible="0" values="|Created by Elliot Woods.&cr;&lf;Distributed under the MIT license (check file LICENSE) for details.&cr;&lf;Generally you can do whatever you want with these files. have fun!|">
</PIN>
<PIN pinname="Output String" visible="0">
</PIN>
<PIN pinname="Show Grid" slicecount="1" values="1">
</PIN>
<PIN pinname="String Type" slicecount="1" values="MultiLine">
</PIN>
</NODE>
<NODE componentmode="InABox" id="5" nodename="IOBox (String)" systemname="IOBox (String)">
<BOUNDS height="270" left="5805" top="2640" type="Node" width="1380">
</BOUNDS>
<BOUNDS height="540" left="5805" top="2640" type="Box" width="2085">
</BOUNDS>
<PIN encoded="0" pinname="Input String" visible="1">
</PIN>
<PIN pinname="Output String" visible="0">
</PIN>
<PIN pinname="Show Grid" slicecount="1" values="0">
</PIN>
<PIN pinname="String Type" slicecount="1" values="MultiLine">
</PIN>
<PIN pinname="Size" slicecount="1" values="12">
</PIN>
<PIN encoded="0" pinname="Descriptive Name" slicecount="1" values="Author">
</PIN>
</NODE>
<NODE componentmode="InABox" id="6" nodename="IOBox (String)" systemname="IOBox (String)">
<BOUNDS height="270" left="225" top="1260" type="Node" width="1380">
</BOUNDS>
<BOUNDS height="1155" left="225" top="1260" type="Box" width="7665">
</BOUNDS>
<PIN encoded="0" pinname="Input String" visible="1">
</PIN>
<PIN pinname="Output String" visible="0">
</PIN>
<PIN pinname="Show Grid" slicecount="1" values="0">
</PIN>
<PIN pinname="String Type" slicecount="1" values="MultiLine">
</PIN>
<PIN pinname="Size" slicecount="1" values="12">
</PIN>
<PIN encoded="0" pinname="Descriptive Name" slicecount="1" values="Description">
</PIN>
</NODE>
<INFO author="Elliot Woods" description="Introduction to Spreads, creating spreads, inspecting spreads. How they act" tags="Spreads, Linear Spread, I, FileTexture, Aspect Ratio">
</INFO>
<NODE componentmode="Hidden" filename="Subpatches\GetMetadata (VVVV).v4p" hiddenwhenlocked="1" id="10" nodename="GetMetadata (VVVV)" systemname="GetMetadata (VVVV)">
<BOUNDS height="100" left="5820" top="1800" type="Node" width="100">
</BOUNDS>
<PIN pinname="Patch" visible="1">
</PIN>
<BOUNDS height="3465" left="14520" top="5520" type="Window" width="4680">
</BOUNDS>
<PIN pinname="Author" visible="1">
</PIN>
<PIN pinname="Description" visible="1">
</PIN>
<PIN pinname="Tags" visible="1">
</PIN>
</NODE>
<NODE componentmode="Hidden" hiddenwhenlocked="1" id="8" nodename="PatchAlias (VVVV)" systemname="PatchAlias (VVVV)">
<BOUNDS height="100" left="5820" top="1350" type="Node" width="100">
</BOUNDS>
<PIN pinname="Patch" visible="1">
</PIN>
</NODE>
<LINK dstnodeid="10" dstpinname="Patch" hiddenwhenlocked="1" srcnodeid="8" srcpinname="Patch">
</LINK>
<LINK dstnodeid="6" dstpinname="Input String" hiddenwhenlocked="1" linkstyle="VHV" srcnodeid="10" srcpinname="Description">
<LINKPOINT x="6445" y="2205">
</LINKPOINT>
<LINKPOINT x="245" y="2355">
</LINKPOINT>
</LINK>
<NODE componentmode="InABox" id="11" nodename="IOBox (String)" systemname="IOBox (String)">
<BOUNDS height="270" left="225" top="2640" type="Node" width="1380">
</BOUNDS>
<BOUNDS height="540" left="225" top="2640" type="Box" width="5520">
</BOUNDS>
<PIN encoded="0" pinname="Input String" visible="1">
</PIN>
<PIN pinname="Output String" visible="0">
</PIN>
<PIN pinname="Show Grid" slicecount="1" values="0">
</PIN>
<PIN pinname="String Type" slicecount="1" values="MultiLine">
</PIN>
<PIN pinname="Size" slicecount="1" values="12">
</PIN>
<PIN encoded="0" pinname="Descriptive Name" slicecount="1" values="Tags">
</PIN>
</NODE>
<LINK dstnodeid="11" dstpinname="Input String" hiddenwhenlocked="1" linkstyle="VHV" srcnodeid="10" srcpinname="Tags">
<LINKPOINT x="7015" y="2293">
</LINKPOINT>
<LINKPOINT x="275" y="2448">
</LINKPOINT>
</LINK>
<LINK dstnodeid="5" dstpinname="Input String" hiddenwhenlocked="1" srcnodeid="10" srcpinname="Author">
</LINK>
<NODE componentmode="InABox" id="12" nodename="IOBox (String)" systemname="IOBox (String)">
<BOUNDS height="270" left="3375" top="3660" type="Node" width="2070">
</BOUNDS>
<BOUNDS height="330" left="3375" top="3660" type="Box" width="1470">
</BOUNDS>
<PIN encoded="0" pinname="Input String" slicecount="1" visible="0" values="|[0 - Spreads]&cr;&lf;<concept>Spreads</concept> are a fundamental tool in VVVV. They are the gift that keeps on giving (metephorically, and quite literally).&cr;&lf;<br />&cr;&lf;&cr;&lf;(Note for programmers: It's similar to an <b>Array</b> in normal programming speak, but also very different).&cr;&lf;<br />&cr;&lf;&cr;&lf;<ul>&cr;&lf;<li>A spread is a set of data.</li>&cr;&lf;<li>An individual item within a Spread is called a <concept>Slice</concept></li>&cr;&lf;<li>The number of Slices in a Spread is called the <concept>Spread Count</concept> or the <concept>Slice Count</concept></li>&cr;&lf;<li>Each Slice has a position within the Spread called a <concept>Slice Index</concept></li>&cr;&lf;<li>The first Slice in the Spread has Slice Index of <b>0</b>.</li>&cr;&lf;<li>If you try to access a slice index outside of the range (e.g. >= spread count or <0) then the spread 'loops'.</li>&cr;&lf;<li>A Spread of Spread Count <b>0</b> is a special case called an <concept>Empty Spread</concept>&cr;&lf;</ul>&cr;&lf;<br />&cr;&lf;&cr;&lf;<b>An example</b><br />&cr;&lf;&cr;&lf;A fish and chip shop menu has 10 items, each with a price and a description. The first item on the list is "Battered cod" with a price of 2pounds 50pence. The last item on the list is "Kimchi" at 4 pounds. Therefore we could say the following:&cr;&lf;<br />&cr;&lf;<ul>&cr;&lf;<li>There are a spread of Values (price) and a spread of Strings (description)</li>&cr;&lf;<li>Both spreads have slice count of 10.</li>&cr;&lf;<li>At slice index 0 in the Value spread we have <b>2.5</b></li>&cr;&lf;<li>At slice index 0 in the spread of Strings we have <b>Battered cod</b></li>&cr;&lf;<li>At slice index 9 in the spread of Strings we have <b>Kimchi</b></li>&cr;&lf;<li>At slice index 10 in the spread of Strings we have <b>Battered cod</b> (we've looped here back to the beginning of the spread)</li>&cr;&lf;<li>At slice index -1 in the spread of Strings we have <b>Kimchi</b>&cr;&lf; (we've looped here back to the end of the spread)</li>&cr;&lf;</ul>|">
</PIN>
<PIN pinname="Output String" visible="0">
</PIN>
<PIN pinname="Show Grid" slicecount="1" values="0">
</PIN>
<PIN pinname="String Type" slicecount="1" values="MultiLine">
</PIN>
<PIN pinname="Font" slicecount="1" values="|Arial Black|">
</PIN>
<PIN pinname="Size" slicecount="1" values="10">
</PIN>
<PIN encoded="0" pinname="Descriptive Name" slicecount="1" values="||">
</PIN>
</NODE>
<NODE componentmode="InABox" id="97" nodename="Renderer (EX9)" systemname="Renderer (EX9)">
<BOUNDS height="100" left="8790" top="2355" type="Node" width="100">
</BOUNDS>
<BOUNDS height="3660" left="8790" top="2355" type="Box" width="7695">
</BOUNDS>
<BOUNDS height="5010" left="15765" top="6165" type="Window" width="6240">
</BOUNDS>
<PIN pinname="Layers" visible="1">
</PIN>
<PIN pinname="Actual Backbuffer Width" visible="1">
</PIN>
<PIN pinname="Actual Backbuffer Height" visible="1">
</PIN>
<PIN pinname="Background Color" visible="1">
</PIN>
</NODE>
<NODE componentmode="Hidden" id="98" nodename="Quad (DX9)" systemname="Quad (DX9)">
<BOUNDS height="270" left="8790" top="1845" type="Node" width="1245">
</BOUNDS>
<PIN pinname="Layer" visible="1">
</PIN>
<PIN pinname="Transform" visible="1">
</PIN>
<PIN pinname="Texture" visible="1">
</PIN>
<PIN pinname="Render State" visible="1">
</PIN>
</NODE>
<LINK dstnodeid="97" dstpinname="Layers" srcnodeid="98" srcpinname="Layer">
</LINK>
<NODE componentmode="Hidden" id="99" nodename="UniformScale (Transform)" systemname="UniformScale (Transform)">
<BOUNDS height="100" left="8955" top="885" type="Node" width="100">
</BOUNDS>
<PIN pinname="Transform Out" visible="1">
</PIN>
<PIN pinname="XYZ" slicecount="1" values="0.1">
</PIN>
<PIN pinname="Transform In" visible="1">
</PIN>
</NODE>
<NODE componentmode="Hidden" id="100" nodename="FileTexture (EX9.Texture)" systemname="FileTexture (EX9.Texture)">
<BOUNDS height="100" left="10230" top="1350" type="Node" width="100">
</BOUNDS>
<PIN pinname="Texture Out" visible="1">
</PIN>
<PIN encoded="0" pinname="Filename" slicecount="1" values="|..\..\..\vvvv\vvvv_45beta26\girlpower\images\ring thin.bmp|">
</PIN>
</NODE>
<LINK dstnodeid="98" dstpinname="Texture" linkstyle="VHV" srcnodeid="100" srcpinname="Texture Out">
<LINKPOINT x="10230" y="1718">
</LINKPOINT>
<LINKPOINT x="9195" y="1718">
</LINKPOINT>
</LINK>
<NODE componentmode="Hidden" id="101" nodename="Scale (Transform)" systemname="Scale (Transform)">
<BOUNDS height="100" left="8955" top="1350" type="Node" width="100">
</BOUNDS>
<PIN pinname="Transform Out" visible="1">
</PIN>
<PIN pinname="X" slicecount="1" values="1">
</PIN>
<PIN pinname="Y" visible="1">
</PIN>
<PIN pinname="Transform In" visible="1">
</PIN>
</NODE>
<NODE componentmode="Hidden" id="102" nodename="Divide (Value)" systemname="Divide (Value)">
<BOUNDS height="270" left="14505" top="6345" type="Node" width="1035">
</BOUNDS>
<PIN pinname="Input" visible="1">
</PIN>
<PIN pinname="Input 2" visible="1">
</PIN>
<PIN pinname="Output" visible="1">
</PIN>
</NODE>
<LINK dstnodeid="102" dstpinname="Input" srcnodeid="97" srcpinname="Actual Backbuffer Width">
</LINK>
<LINK dstnodeid="102" dstpinname="Input 2" srcnodeid="97" srcpinname="Actual Backbuffer Height">
</LINK>
<NODE componentmode="InABox" id="103" nodename="IOBox (String)" systemname="IOBox (String)">
<BOUNDS height="270" left="8145" top="3465" type="Node" width="330">
</BOUNDS>
<BOUNDS height="7515" left="8145" top="3465" type="Box" width="345">
</BOUNDS>
<PIN encoded="0" pinname="Input String" slicecount="1" visible="0" values="||">
</PIN>
<PIN pinname="Output String" visible="0">
</PIN>
<PIN pinname="Show Grid" slicecount="1" values="1">
</PIN>
<PIN pinname="String Type" slicecount="1" values="MultiLine">
</PIN>
</NODE>
<NODE componentmode="InABox" id="104" nodename="IOBox (String)" systemname="IOBox (String)">
<BOUNDS height="270" left="675" top="4545" type="Node" width="2070">
</BOUNDS>
<BOUNDS height="330" left="675" top="4545" type="Box" width="1470">
</BOUNDS>
<PIN encoded="0" pinname="Input String" slicecount="1" visible="0" values="|[1 - GetSlice]&cr;&lf;A <node>GetSlice (Spreads)</node> node picks 1 or more slices out of a spread.&cr;&lf;<br />&cr;&lf;&cr;&lf;Let's create a <node>GetSlice (Spreads)</node> now, and attach a <b>4D Vector</b> <node>IOBox</node> to its <pin>Input</pin> and a simple <node>IOBox</node> to its <pin>Output</pin>. <click/><mmb/> on the bottom IOBox to give it a name.&cr;&lf;<br />&cr;&lf;&cr;&lf;For readability. Let's go into the <node>Inspektor</node> and change some properties for both <node>IOBox</node>'s. Set <pin>Value Type</pin> to <b>Integer</b> and <pin>Size</pin> to <b>14</b>. Also turn on <pin>Show Grid</pin> and <pin>Show SliceIndex</pin>.&cr;&lf;<br />&cr;&lf;&cr;&lf;Also let's add an <node>IOBox</node> on the <pin>Index</pin> input of <node>GetSlice</node> using our middle button trick <click/><mmb/>. (first click <click/><lmb/>on the pin to start a connection and then <click/><mmb/> to make an <node>IOBox</node> from the connection.&cr;&lf;<br />&cr;&lf;&cr;&lf;Add a <node>I (Spreads)</node> to the top and connect the output to the input of the 4D vector. Set the input pin <pin>To</pin> on <node>I</node> to <b>4</b>. This node now outputs a spread of <b>0, 1, 2, 3</b> i.e. values <pin>From</pin> <b>0</b> <pin>To</pin> <b>4</b>.&cr;&lf;<br />&cr;&lf;&cr;&lf;Now try changing the <b>Index</b> to see which slice is selected by the <node>GetSlice</node> node.|">
</PIN>
<PIN pinname="Output String" visible="0">
</PIN>
<PIN pinname="Show Grid" slicecount="1" values="0">
</PIN>
<PIN pinname="String Type" slicecount="1" values="MultiLine">
</PIN>
<PIN pinname="Font" slicecount="1" values="|Arial Black|">
</PIN>
<PIN pinname="Size" slicecount="1" values="10">
</PIN>
<PIN encoded="0" pinname="Descriptive Name" slicecount="1" values="||">
</PIN>
</NODE>
<NODE componentmode="Hidden" id="105" nodename="GetSlice (Spreads)" systemname="GetSlice (Spreads)">
<BOUNDS height="270" left="915" top="7785" type="Node" width="2475">
</BOUNDS>
<PIN pinname="Input" visible="1">
</PIN>
<PIN pinname="Output" visible="1">
</PIN>
<PIN pinname="Index">
</PIN>
</NODE>
<NODE componentmode="InABox" id="106" nodename="IOBox (Value Advanced)" systemname="IOBox (Value Advanced)">
<BOUNDS height="100" left="915" top="5460" type="Node" width="100">
</BOUNDS>
<BOUNDS height="1920" left="915" top="5460" type="Box" width="1635">
</BOUNDS>
<PIN pinname="Rows" slicecount="1" values="4">
</PIN>
<PIN pinname="Y Input Value" visible="1">
</PIN>
<PIN pinname="Vector Size" slicecount="1" values="4">
</PIN>
<PIN encoded="0" pinname="Default" slicecount="1" values="|0, 0, 0, 1|">
</PIN>
<PIN pinname="Y Output Value" visible="1">
</PIN>
<PIN pinname="Value Type" slicecount="1" values="Integer">
</PIN>
<PIN pinname="Size" slicecount="1" values="14">
</PIN>
<PIN pinname="Show Grid" slicecount="1" values="1">
</PIN>
<PIN pinname="Show SliceIndex" slicecount="1" values="1">
</PIN>
</NODE>
<LINK dstnodeid="105" dstpinname="Input" srcnodeid="106" srcpinname="Y Output Value">
</LINK>
<NODE componentmode="InABox" id="107" nodename="IOBox (Value Advanced)" systemname="IOBox (Value Advanced)">
<BOUNDS height="100" left="915" top="8460" type="Node" width="100">
</BOUNDS>
<BOUNDS height="555" left="915" top="8460" type="Box" width="1620">
</BOUNDS>
<PIN pinname="Y Input Value" visible="1">
</PIN>
<PIN pinname="Value Type" slicecount="1" values="Integer">
</PIN>
<PIN pinname="Size" slicecount="1" values="14">
</PIN>
<PIN pinname="Show Grid" slicecount="1" values="1">
</PIN>
<PIN pinname="Show SliceIndex" slicecount="1" values="1">
</PIN>
<PIN encoded="0" pinname="Descriptive Name" slicecount="1" values="Output">
</PIN>
</NODE>
<LINK dstnodeid="107" dstpinname="Y Input Value" srcnodeid="105" srcpinname="Output">
</LINK>
<NODE componentmode="InABox" id="108" nodename="IOBox (Value Advanced)" systemname="IOBox (Value Advanced)">
<BOUNDS height="0" left="3330" top="7095" type="Node" width="0">
</BOUNDS>
<BOUNDS height="240" left="3330" top="7095" type="Box" width="795">
</BOUNDS>
<PIN pinname="Y Input Value" slicecount="1" values="0">
</PIN>
<PIN encoded="0" pinname="Units" slicecount="1" values="||">
</PIN>
<PIN pinname="Precision" slicecount="1" values="4">
</PIN>
<PIN pinname="Value Type" slicecount="1" values="Integer">
</PIN>
<PIN encoded="0" pinname="Descriptive Name" slicecount="1" values="Index">
</PIN>
</NODE>
<LINK dstnodeid="105" dstpinname="Index" srcnodeid="108" srcpinname="Y Output Value">
</LINK>
<NODE componentmode="Hidden" id="109" nodename="I (Spreads)" systemname="I (Spreads)">
<BOUNDS height="100" left="900" top="5070" type="Node" width="100">
</BOUNDS>
<PIN pinname=".. To [" slicecount="1" values="4">
</PIN>
<PIN pinname="Output" visible="1">
</PIN>
</NODE>
<LINK dstnodeid="106" dstpinname="Y Input Value" srcnodeid="109" srcpinname="Output">
</LINK>
<NODE componentmode="Hidden" id="110" nodename="GetSlice (Spreads)" systemname="GetSlice (Spreads)">
<BOUNDS height="270" left="5115" top="6450" type="Node" width="1605">
</BOUNDS>
<PIN pinname="Input" visible="1">
</PIN>
<PIN pinname="Output" visible="1">
</PIN>
<PIN pinname="Index" visible="1">
</PIN>
</NODE>
<NODE componentmode="InABox" id="111" nodename="IOBox (Value Advanced)" systemname="IOBox (Value Advanced)">
<BOUNDS height="100" left="5100" top="5760" type="Node" width="100">
</BOUNDS>
<BOUNDS height="240" left="5100" top="5760" type="Box" width="795">
</BOUNDS>
<PIN pinname="Y Output Value" visible="1">
</PIN>
<PIN pinname="Y Input Value" slicecount="1" values="100">
</PIN>
<PIN encoded="0" pinname="Descriptive Name" slicecount="1" values="Input">
</PIN>
</NODE>
<LINK dstnodeid="110" dstpinname="Input" srcnodeid="111" srcpinname="Y Output Value">
</LINK>
<NODE componentmode="InABox" id="112" nodename="IOBox (Value Advanced)" systemname="IOBox (Value Advanced)">
<BOUNDS height="100" left="5100" top="6960" type="Node" width="100">
</BOUNDS>
<BOUNDS height="240" left="5100" top="6960" type="Box" width="795">
</BOUNDS>
<PIN pinname="Y Input Value" visible="1">
</PIN>
<PIN encoded="0" pinname="Descriptive Name" slicecount="1" values="Output">
</PIN>
</NODE>
<LINK dstnodeid="112" dstpinname="Y Input Value" srcnodeid="110" srcpinname="Output">
</LINK>
<NODE componentmode="InABox" id="113" nodename="IOBox (Value Advanced)" systemname="IOBox (Value Advanced)">
<BOUNDS height="100" left="6660" top="5760" type="Node" width="100">
</BOUNDS>
<BOUNDS height="240" left="6660" top="5760" type="Box" width="795">
</BOUNDS>
<PIN pinname="Y Output Value" visible="1">
</PIN>
<PIN encoded="0" pinname="Descriptive Name" slicecount="1" values="Index">
</PIN>
<PIN pinname="Y Input Value" slicecount="1" values="10">
</PIN>
</NODE>
<LINK dstnodeid="110" dstpinname="Index" srcnodeid="113" srcpinname="Y Output Value">
</LINK>
<NODE componentmode="InABox" id="114" nodename="IOBox (String)" systemname="IOBox (String)">
<BOUNDS height="270" left="4965" top="5145" type="Node" width="2070">
</BOUNDS>
<BOUNDS height="345" left="4965" top="5145" type="Box" width="2595">
</BOUNDS>
<PIN encoded="0" pinname="Input String" slicecount="1" visible="0" values="|[2 - Always repeating]&cr;&lf;So we've seen how the data in a spread is repeated to satisfy the slice which is being asked for. This is even the case when we have 1 value.&cr;&lf;<br />&cr;&lf;&cr;&lf;We can test this with a <node>GetSlice</node> with a simple <node>IOBox (Value)</node> input.&cr;&lf;<br />&cr;&lf;&cr;&lf;When we run it through a <node>GetSlice</node> and roll the <pin>Index</pin> pin different slices, we get the same value.&cr;&lf;<br />&cr;&lf;&cr;&lf;Important note: <concept>Every Value, String, Colour, Enum, etc in VVVV is stored as a Spread, and therefore repeats like a Spread.</concept>&cr;&lf;<br />|">
</PIN>
<PIN pinname="Output String" visible="0">
</PIN>
<PIN pinname="Show Grid" slicecount="1" values="0">
</PIN>
<PIN pinname="String Type" slicecount="1" values="MultiLine">
</PIN>
<PIN pinname="Font" slicecount="1" values="|Arial Black|">
</PIN>
<PIN pinname="Size" slicecount="1" values="10">
</PIN>
<PIN encoded="0" pinname="Descriptive Name" slicecount="1" values="||">
</PIN>
</NODE>
<NODE componentmode="InABox" id="115" nodename="IOBox (String)" systemname="IOBox (String)">
<BOUNDS height="270" left="10590" top="165" type="Node" width="2070">
</BOUNDS>
<BOUNDS height="315" left="10590" top="165" type="Box" width="4185">
</BOUNDS>
<PIN encoded="0" pinname="Input String" slicecount="1" visible="0" values="|[3 - A visual spread experiment]&cr;&lf;So let's try and visualise what happens with spreads.&cr;&lf;<br />&cr;&lf;&cr;&lf;We're going to setup a simple graphical patch to use in a number of experiments. This patch will help us to visualise some spread mechanics, but also introduces a few graphical concepts as well.&cr;&lf;<br />&cr;&lf;&cr;&lf;Follow these steps:&cr;&lf;<br />&cr;&lf;&cr;&lf;<ol>&cr;&lf;<li>First create a <node>Quad</node> and a <node>Renderer</node> and connect them up. You should get the familiar white square in a black box.</li>&cr;&lf;<li>Now lets make a new node called <node>FileTexture</node> above <node>Quad</node>. Connect the <pin>Texture Out</pin> output of <node>FileTexture</node> to the <node>Texture</node> input of Quad.&cr;&lf;<br />&cr;&lf;The <node>FileTexture</node> node loads in an image file, and creates a <concept>Texture</concept> which you can apply to your graphical objects.&cr;&lf;<br />&cr;&lf;Textures are stored on the graphics card, and can be used in all sorts of ways to manipulate your objects with image data (e.g. image maps, height maps, bump maps, etc).&cr;&lf;</li>&cr;&lf;&cr;&lf;<li><rmb/><click/> on the <pin>Filename</pin> input of <node>FileTexture</node> and select an image from your own computer. You should now see that image applied to the quad.</li>&cr;&lf;&cr;&lf;<li>Now let's load a specific texture. We go to the VVVV folder where you have it installed. We go to the 'girlpower' folder. Then we go to the 'images' folder (vvvv/girlpower/images). Now select the file "ring thin.bmp". We should now be drawing a circle to the screen. If the <node>Renderer</node> is square, the circle will be square. But if the <node>Renderer</node> is squashed, so will the circle be.</li>&cr;&lf;&cr;&lf;<li>To straighten the circle, we need to counteract the <concept>Aspect Ratio</concept>of the <node>Renderer</node>. We do this with some simple maths. Create a <node>/ (Value)</node> node (this node divides numers. i.e. 4/2 = 2).&cr;&lf;<br />&cr;&lf;Attach the 2 inputs of the <node>/</node> to the <pin>Width</pin> and <pin>Height</pin> output pins of the <node>Renderer</node> respectively. Create an <node>IOBox</node> and attach it to the <node>IOBox</node>'s output to visualise the output. This number represents the aspect ratio. Go into <node>Inspektor</node> and set the <pin>Descriptive Name</pin> of the IOBox to <b>Aspect Ratio</b>&cr;&lf;<br />&cr;&lf;Now add a <node>Scale (Transform)</node> (not vector version!) above your <node>Quad</node>. Connect to your <node>Quad</node>'s <pin>Transform</pin> pin. Connect the output of your <b>Aspect Ratio</b> to the <pin>Y</pin> input of <node>Scale</node>. The aspect ratio should now be fixed for your quad, regardless of the <node>Renderer</node>'s aspect ratio.&cr;&lf;<br />&cr;&lf;Because you now have a link going upwards in the graph, it looks a little messy. Feel free to select it and tidy it up using either <key>Ctrl</key>+<key>Y</key> to curve it, and/or <key>Ctrl</key>+<key>H</key> to 'hide' it.&cr;&lf;</li>&cr;&lf;&cr;&lf;<li>&cr;&lf;Scale down the quad using a <node>UniformScale (Transform)</node> node. Attach this to the input of your <node>Scale</node> node and reduce the <pin>XYZ</pin> input to <b>0.1</b>. Remember you can edit the value both by <click/><rmb/> on the pin and then typing a <key>0</key><key>.</key><key>1</key><key>Enter</key>, or <hold/><rmb/> on the pin and move the mouse up/down.&cr;&lf;&cr;&lf;<li>Create a <node>Translate (Transform)</node> node (again, not the vector version!). and attach that to the <node>UniformScale</node>'s input</li>&cr;&lf;&cr;&lf;</ol>&cr;&lf;<br />&cr;&lf;Ok before going any further. Take some time to figure out what's happening. This are some very common VVVV fundamentals here which are worth understanding (Transforms, Layer, Texture, Maths).&cr;&lf;<br />&cr;&lf;&cr;&lf;Notice how everthing is wired up for 1 object. There's 1 aspect ratio correcting scale, 1 uniform scale, 1 texture, 1 quad.&cr;&lf;<br />&cr;&lf;&cr;&lf;Now let's step it up! Create a <node>LinearSpread</node> node above the <node>Translate</node> and attach the <pin>Output</pin> to <node>Translate</node>'s <pin>X</pin>input. Now check the top right input pin of <node>LinearSpread</node>, <pin>Spread Count</pin>. Let's increase this value.&cr;&lf;<br />&cr;&lf;&cr;&lf;As you see you get lots of circles renderered to the screen. Check the <pin>Output</pin> of <node>LinearSpread</node> by rolling your mouse over the output (you dont need to click). It might look something like this: &cr;&lf;<br />&cr;&lf;&cr;&lf;<b>Output: (3) -0.3333~</b>&cr;&lf;<br />&cr;&lf;&cr;&lf;This means there are 3 slices in the spread, and the first slice has a Value of approximately -0.3333 (the <b>~</b> denotes approximate).|">
</PIN>
<PIN pinname="Output String" visible="0">
</PIN>
<PIN pinname="Show Grid" slicecount="1" values="0">
</PIN>
<PIN pinname="String Type" slicecount="1" values="MultiLine">
</PIN>
<PIN pinname="Font" slicecount="1" values="|Arial Black|">
</PIN>
<PIN pinname="Size" slicecount="1" values="10">
</PIN>
<PIN encoded="0" pinname="Descriptive Name" slicecount="1" values="||">
</PIN>
</NODE>
<NODE componentmode="InABox" id="116" nodename="IOBox (Value Advanced)" systemname="IOBox (Value Advanced)">
<BOUNDS height="100" left="14520" top="6870" type="Node" width="100">
</BOUNDS>
<BOUNDS height="240" left="14520" top="6870" type="Box" width="795">
</BOUNDS>
<PIN pinname="Y Input Value" visible="1">
</PIN>
<PIN pinname="Y Output Value" visible="1">
</PIN>
<PIN encoded="0" pinname="Descriptive Name" slicecount="1" values="|Aspect Ratio|">
</PIN>
</NODE>
<LINK dstnodeid="116" dstpinname="Y Input Value" srcnodeid="102" srcpinname="Output">
</LINK>
<LINK dstnodeid="101" dstpinname="Y" hiddenwhenlocked="1" srcnodeid="116" srcpinname="Y Output Value">
</LINK>
<LINK dstnodeid="98" dstpinname="Transform" srcnodeid="101" srcpinname="Transform Out">
</LINK>
<LINK dstnodeid="101" dstpinname="Transform In" srcnodeid="99" srcpinname="Transform Out">
</LINK>
<NODE componentmode="Hidden" id="117" nodename="Translate (Transform)" systemname="Translate (Transform)">
<BOUNDS height="100" left="8955" top="480" type="Node" width="100">
</BOUNDS>
<PIN pinname="Transform Out" visible="1">
</PIN>
<PIN pinname="X" visible="1">
</PIN>
</NODE>
<LINK dstnodeid="99" dstpinname="Transform In" srcnodeid="117" srcpinname="Transform Out">
</LINK>
<NODE componentmode="Hidden" id="118" nodename="LinearSpread (Spreads)" systemname="LinearSpread (Spreads)">
<BOUNDS height="100" left="9210" top="150" type="Node" width="100">
</BOUNDS>
<PIN pinname="Output" visible="1">
</PIN>
<PIN pinname="Spread Count" slicecount="1" values="15">
</PIN>
</NODE>
<LINK dstnodeid="117" dstpinname="X" srcnodeid="118" srcpinname="Output">
</LINK>
<NODE componentmode="InABox" id="119" nodename="IOBox (String)" systemname="IOBox (String)">
<BOUNDS height="270" left="10590" top="510" type="Node" width="2070">
</BOUNDS>
<BOUNDS height="315" left="10590" top="510" type="Box" width="4185">
</BOUNDS>
<PIN encoded="0" pinname="Input String" slicecount="1" visible="0" values="|[4 - Tidying the blend mode]&cr;&lf;If we have too many circles, they will start to overlap. Since the textures have an opaque black background, they will interfere with each other. We can see that the circles are opaque by changing the background colour of the <node>Renderer</node>.&cr;&lf;<br />&cr;&lf;&cr;&lf;To change the background colour of the <node>Renderer</node>, create a <node>RetroColors (Color)</node> and connect its <pin>Output</pin> to the <pin>Background Color</pin> input pin on the <node>Renderer</node>. Select different colours by changing the <pin>Index</pin> input of <node>RetroColors</node> and/or changing to a different games console colourset using the <pin>Mode</pin> pin.&cr;&lf;<br />&cr;&lf;&cr;&lf;On the right hand input of <node>Blend</node> we see <&cr;&lf;That was fun, but anyway, we can definitely see that the background of the quads are black. Let's change the <concept>Blend Mode</concept> of the quads, (Photoshop users will be familiar with this idea).&cr;&lf;<br />&cr;&lf;&cr;&lf;Create a <node>Blend (EX9.RenderState)</node> above <node>Quad</node> and attach the output of <node>Blend</node> to the <pin>Render State</pin> input of <node>Quad</node>. Set the <pin>Draw Mode</pin> of <node>Blend</node> to <b>Add</b>.&cr;&lf;<br />&cr;&lf;&cr;&lf;Now when the quads are drawn, their colour is 'added' to whatever is behind them, i.e. since black is <b>0</b> and <b>a + 0 = a</b>, black has no effect when the <pin>Draw Mode</pin> is set to <b>Add</b>.|">
</PIN>
<PIN pinname="Output String" visible="0">
</PIN>
<PIN pinname="Show Grid" slicecount="1" values="0">
</PIN>
<PIN pinname="String Type" slicecount="1" values="MultiLine">
</PIN>
<PIN pinname="Font" slicecount="1" values="|Arial Black|">
</PIN>
<PIN pinname="Size" slicecount="1" values="10">
</PIN>
<PIN encoded="0" pinname="Descriptive Name" slicecount="1" values="||">
</PIN>
</NODE>
<NODE componentmode="Hidden" id="120" nodename="RetroColors (Color)" systemname="RetroColors (Color)">
<BOUNDS height="100" left="10485" top="1935" type="Node" width="100">
</BOUNDS>
<PIN pinname="Output" visible="1">
</PIN>
<PIN pinname="Wavelength (nm)">
</PIN>
<PIN pinname="Index" slicecount="1" values="4">
</PIN>
<PIN pinname="Mode" slicecount="1" values="SinclairZXSpectrum">
</PIN>
</NODE>
<LINK dstnodeid="97" dstpinname="Background Color" srcnodeid="120" srcpinname="Output">
</LINK>
<NODE componentmode="Hidden" id="121" nodename="Blend (EX9.RenderState)" systemname="Blend (EX9.RenderState)">
<BOUNDS height="100" left="8310" top="1350" type="Node" width="100">
</BOUNDS>
<PIN pinname="Render State Out" visible="1">
</PIN>
<PIN pinname="Draw Mode" slicecount="1" values="Add">
</PIN>
</NODE>
<LINK dstnodeid="98" dstpinname="Render State" linkstyle="VHV" srcnodeid="121" srcpinname="Render State Out">
<LINKPOINT x="8370" y="1718">
</LINKPOINT>
<LINKPOINT x="8790" y="1718">
</LINKPOINT>
</LINK>
<NODE componentmode="InABox" id="133" nodename="Renderer (EX9)" systemname="Renderer (EX9)">
<BOUNDS height="100" left="8835" top="8940" type="Node" width="100">
</BOUNDS>
<BOUNDS height="3660" left="8835" top="8940" type="Box" width="7695">
</BOUNDS>
<BOUNDS height="5010" left="15765" top="6165" type="Window" width="6240">
</BOUNDS>
<PIN pinname="Layers" visible="1">
</PIN>
<PIN pinname="Actual Backbuffer Width" visible="1">
</PIN>
<PIN pinname="Actual Backbuffer Height" visible="1">
</PIN>
<PIN pinname="Background Color" slicecount="1" visible="1" values="|0.00000,0.00000,0.00000,1.00000|">
</PIN>
</NODE>
<NODE componentmode="Hidden" id="132" nodename="Quad (DX9)" systemname="Quad (DX9)">
<BOUNDS height="270" left="8835" top="8430" type="Node" width="1245">
</BOUNDS>
<PIN pinname="Layer" visible="1">
</PIN>
<PIN pinname="Transform" visible="1">
</PIN>
<PIN pinname="Texture" visible="1">
</PIN>
<PIN pinname="Render State" visible="1">
</PIN>
<PIN pinname="Color" visible="1">
</PIN>
</NODE>
<LINK dstnodeid="133" dstpinname="Layers" srcnodeid="132" srcpinname="Layer">
</LINK>
<NODE componentmode="Hidden" id="131" nodename="UniformScale (Transform)" systemname="UniformScale (Transform)">
<BOUNDS height="100" left="9000" top="7470" type="Node" width="100">
</BOUNDS>
<PIN pinname="Transform Out" visible="1">
</PIN>
<PIN pinname="XYZ" slicecount="1" values="0.4">
</PIN>
<PIN pinname="Transform In" visible="1">
</PIN>
</NODE>
<NODE componentmode="Hidden" id="130" nodename="FileTexture (EX9.Texture)" systemname="FileTexture (EX9.Texture)">
<BOUNDS height="100" left="10275" top="7935" type="Node" width="100">
</BOUNDS>
<PIN pinname="Texture Out" visible="1">
</PIN>
<PIN encoded="0" pinname="Filename" slicecount="1" values="|..\..\..\vvvv\vvvv_45beta26\girlpower\images\ring thin.bmp|">
</PIN>
</NODE>
<LINK dstnodeid="132" dstpinname="Texture" linkstyle="VHV" srcnodeid="130" srcpinname="Texture Out">
<LINKPOINT x="10275" y="8303">
</LINKPOINT>
<LINKPOINT x="9240" y="8303">
</LINKPOINT>
</LINK>
<NODE componentmode="Hidden" id="129" nodename="Scale (Transform)" systemname="Scale (Transform)">
<BOUNDS height="100" left="9000" top="7935" type="Node" width="100">
</BOUNDS>
<PIN pinname="Transform Out" visible="1">
</PIN>
<PIN pinname="X" slicecount="1" values="1">
</PIN>
<PIN pinname="Y" visible="1">
</PIN>
<PIN pinname="Transform In" visible="1">
</PIN>
</NODE>
<NODE componentmode="Hidden" id="128" nodename="Divide (Value)" systemname="Divide (Value)">
<BOUNDS height="270" left="14565" top="12660" type="Node" width="1035">
</BOUNDS>
<PIN pinname="Input" visible="1">
</PIN>
<PIN pinname="Input 2" visible="1">
</PIN>
<PIN pinname="Output" visible="1">
</PIN>
</NODE>
<LINK dstnodeid="128" dstpinname="Input" srcnodeid="133" srcpinname="Actual Backbuffer Width">
</LINK>
<LINK dstnodeid="128" dstpinname="Input 2" srcnodeid="133" srcpinname="Actual Backbuffer Height">
</LINK>
<NODE componentmode="InABox" id="127" nodename="IOBox (Value Advanced)" systemname="IOBox (Value Advanced)">
<BOUNDS height="100" left="14565" top="12990" type="Node" width="100">
</BOUNDS>
<BOUNDS height="240" left="14565" top="12990" type="Box" width="795">
</BOUNDS>
<PIN pinname="Y Input Value" visible="1">
</PIN>
<PIN pinname="Y Output Value" visible="1">
</PIN>
<PIN encoded="0" pinname="Descriptive Name" slicecount="1" values="|Aspect Ratio|">
</PIN>
</NODE>
<LINK dstnodeid="127" dstpinname="Y Input Value" srcnodeid="128" srcpinname="Output">
</LINK>
<LINK dstnodeid="129" dstpinname="Y" srcnodeid="127" srcpinname="Y Output Value">
</LINK>
<LINK dstnodeid="132" dstpinname="Transform" srcnodeid="129" srcpinname="Transform Out">
</LINK>
<LINK dstnodeid="129" dstpinname="Transform In" srcnodeid="131" srcpinname="Transform Out">
</LINK>
<NODE componentmode="Hidden" id="126" nodename="Translate (Transform)" systemname="Translate (Transform)">
<BOUNDS height="100" left="9000" top="7065" type="Node" width="100">
</BOUNDS>
<PIN pinname="Transform Out" visible="1">
</PIN>
<PIN pinname="X" visible="1">
</PIN>
<PIN pinname="Y" visible="1">
</PIN>
</NODE>
<LINK dstnodeid="131" dstpinname="Transform In" srcnodeid="126" srcpinname="Transform Out">
</LINK>
<NODE componentmode="Hidden" id="125" nodename="LinearSpread (Spreads)" systemname="LinearSpread (Spreads)">
<BOUNDS height="100" left="9255" top="6630" type="Node" width="100">
</BOUNDS>
<PIN pinname="Output" visible="1">
</PIN>
<PIN pinname="Spread Count" slicecount="1" values="5">
</PIN>
<PIN pinname="Width" slicecount="1" values="1.07">
</PIN>
</NODE>
<LINK dstnodeid="126" dstpinname="X" srcnodeid="125" srcpinname="Output">
</LINK>
<NODE componentmode="InABox" id="124" nodename="IOBox (String)" systemname="IOBox (String)">
<BOUNDS height="270" left="10635" top="7095" type="Node" width="2070">
</BOUNDS>
<BOUNDS height="375" left="10635" top="7095" type="Box" width="2670">
</BOUNDS>
<PIN encoded="0" pinname="Input String" slicecount="1" visible="0" values="|[4 - Olympics 2012?]&cr;&lf;Ok. Let's make a copy.&cr;&lf;<ol>&cr;&lf;<li>Select that section of the patch we just made.</li>&cr;&lf;<li>Press <key>Ctrl</key>+<key>D</key> to duplicate. Dont press anything else.</li>&cr;&lf;<li>The bits you've duplicated are all mixed up with the old bits, but your new bits are all selected.</li>&cr;&lf;<li>Use the <key>Down</key> key on your keyboard to move the nodes down within the patch. To do this quicker, use <key>Shift</key>+<key>Down</key>. Do this until you've moved the new nodes into a clear section of the patch</li>&cr;&lf;</ol>&cr;&lf;<br />&cr;&lf;&cr;&lf;Let's get rid of the background. Delete <node>RetroColors</node> by clicking <click/><lmb/> on it and then pressing <key>Delete</key>. Right click <click/><rmb/> on the <pin>Background Color</pin> pin to reset it to <b>black</b>.&cr;&lf;<br />&cr;&lf;&cr;&lf;Let's make the rings bigger. Set the <node>UniformSpread</node> to <b>0.4</b>. This is a quick way of saying 'set the parameter of UniformSpread (in this case <pin>XYZ</pin>)) to value <b>0.4</b>'.&cr;&lf;<br />&cr;&lf;&cr;&lf;Create a new <node>LinearSpread</node> and connect it to <node>Translate</node>'s <pin>Y</pin> input. Set the <pin>Spread Count<pin> of the 2 <node>LinearSpread</node>'s to <b>5</b> and <b>2</b> respectively.&cr;&lf;<br />&cr;&lf;&cr;&lf;Adjust the <b>Width</b> pins of the <node>LinearSpread</node>'s until you get the olympic rings.&cr;&lf;<br />&cr;&lf;&cr;&lf;For good measure, add some colour to the rings by either using a <node>RetroColors</node> with an <node>I (Spreads)</node> on the <pin>Index</pin pin, or a <node>HSL (Color Join)</node> with a <node>LinearSpread</node> on the <pin>Hue</pin> input pin. Also set the <pin>Draw Mode</pin> of the <node>Blend</node> node to <b>ColorAsAlphaBlend</b>.|">
</PIN>
<PIN pinname="Output String" visible="0">
</PIN>
<PIN pinname="Show Grid" slicecount="1" values="0">
</PIN>
<PIN pinname="String Type" slicecount="1" values="MultiLine">
</PIN>
<PIN pinname="Font" slicecount="1" values="|Arial Black|">
</PIN>
<PIN pinname="Size" slicecount="1" values="10">
</PIN>
<PIN encoded="0" pinname="Descriptive Name" slicecount="1" values="||">
</PIN>
</NODE>
<NODE componentmode="Hidden" id="122" nodename="Blend (EX9.RenderState)" systemname="Blend (EX9.RenderState)">
<BOUNDS height="100" left="8835" top="6270" type="Node" width="100">
</BOUNDS>
<PIN pinname="Render State Out" visible="1">
</PIN>
<PIN pinname="Draw Mode" slicecount="1" values="ColorAsAlphaBlend">
</PIN>
</NODE>
<LINK dstnodeid="132" dstpinname="Render State" linkstyle="VHV" srcnodeid="122" srcpinname="Render State Out">
<LINKPOINT x="8735" y="7193">
</LINKPOINT>
<LINKPOINT x="8995" y="7748">
</LINKPOINT>
</LINK>
<NODE componentmode="Hidden" id="134" nodename="LinearSpread (Spreads)" systemname="LinearSpread (Spreads)">
<BOUNDS height="100" left="10455" top="6630" type="Node" width="100">
</BOUNDS>
<PIN pinname="Output" visible="1">
</PIN>
<PIN pinname="Spread Count" slicecount="1" values="2">
</PIN>
<PIN pinname="Width" slicecount="1" values="-0.98">
</PIN>
</NODE>
<LINK dstnodeid="126" dstpinname="Y" linkstyle="VHV" srcnodeid="134" srcpinname="Output">
<LINKPOINT x="10455" y="6968">
</LINKPOINT>
<LINKPOINT x="9555" y="6968">
</LINKPOINT>
</LINK>
<NODE componentmode="Hidden" id="135" nodename="RetroColors (Color)" systemname="RetroColors (Color)">
<BOUNDS height="100" left="11280" top="7935" type="Node" width="100">
</BOUNDS>
<PIN pinname="Output" visible="1">
</PIN>
<PIN pinname="Index" visible="1">
</PIN>
</NODE>
<LINK dstnodeid="132" dstpinname="Color" linkstyle="VHV" srcnodeid="135" srcpinname="Output">
<LINKPOINT x="11310" y="8385">
</LINKPOINT>
<LINKPOINT x="9885" y="8385">
</LINKPOINT>
</LINK>
<NODE componentmode="Hidden" id="136" nodename="I (Spreads)" systemname="I (Spreads)">
<BOUNDS height="100" left="11280" top="7590" type="Node" width="100">
</BOUNDS>
<PIN pinname="Output" visible="1">
</PIN>
<PIN pinname=".. To [" slicecount="1" values="6">
</PIN>
<PIN pinname="[ From .." slicecount="1" values="1">
</PIN>
</NODE>
<LINK dstnodeid="135" dstpinname="Index" srcnodeid="136" srcpinname="Output">
</LINK>
</PATCH>