aboutsummaryrefslogtreecommitdiff
path: root/rgb2hsv-help.pd
blob: 3af53391b4d10adc420bcb97170568290e4fe9bf (plain)
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
#N canvas 172 190 432 490 10;
#X text 89 388 convert between RGB colorspace and HSV colorspace;
#X text 91 412 RGB is red \, green \, blue;
#X text 91 434 HSV is hue \, saturation \, value (luminance);
#X obj 123 218 rgb2hsv;
#X msg 163 182 1 0 0;
#X msg 155 156 0 0.2 0.5;
#X obj 123 257 unpack 0 0 0;
#X floatatom 202 279 5 0 0 1 Value - -;
#X floatatom 162 299 5 0 0 1 Saturation - -;
#X floatatom 123 322 5 0 0 1 Hue - -;
#X floatatom 178 84 5 0 1 1 Blue - -;
#X floatatom 141 67 5 0 1 1 Green - -;
#X floatatom 123 49 5 0 1 1 Red - -;
#X obj 123 122 pack 0 0 0;
#X obj 141 103 t b f;
#X obj 178 103 t b f;
#X text 83 9 [rgb2hsv];
#X connect 3 0 6 0;
#X connect 4 0 3 0;
#X connect 5 0 3 0;
#X connect 6 0 9 0;
#X connect 6 1 8 0;
#X connect 6 2 7 0;
#X connect 10 0 15 0;
#X connect 11 0 14 0;
#X connect 12 0 13 0;
#X connect 13 0 3 0;
#X connect 14 0 13 0;
#X connect 14 1 13 1;
#X connect 15 0 13 0;
#X connect 15 1 13 2;