aboutsummaryrefslogtreecommitdiff
path: root/doc/help_pdp_cmap.pd
blob: 5d49b7c2876cca400a20f6a6d8dce66e30c0000a (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
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
#N canvas 137 28 781 666 10;
#X obj 32 596 pdp_xv;
#X obj 268 64 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1
-1;
#X msg 123 136 loop \$1;
#X obj 124 114 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 0
1;
#X msg 370 44 open \$1;
#X obj 369 20 openpanel;
#X obj 354 3 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1
-1;
#X floatatom 316 99 5 0 0;
#X msg 225 65 stop;
#X obj 323 68 hsl 300 15 0 1000 0 0 empty empty empty -2 -6 0 8 -262144
-1 -1 0 1;
#X obj 257 135 metro 70;
#X obj 252 167 pdp_yqt;
#X obj 26 263 pdp_v4l;
#X obj 35 232 metro 70;
#X obj 80 198 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1
-1;
#X msg 37 199 stop;
#X msg 122 230 open /dev/video;
#X floatatom 253 369 5 0 0;
#X floatatom 262 390 5 0 0;
#X floatatom 270 414 5 0 0;
#X floatatom 228 321 5 0 0;
#X text 346 633 written by Yves Degoyon ( ydegoyon@free.fr );
#X floatatom 237 345 5 0 0;
#X msg 93 382 pick;
#X floatatom 282 438 5 0 0;
#X msg 293 466 luminosity \$1;
#X obj 394 468 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X text 417 469 Use luminosity in color detection;
#X obj 378 491 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X msg 302 490 cursor \$1;
#X text 401 492 Show cursor or not;
#X obj 100 565 pdp_cmap ----;
#X text 346 618 pdp_cmap : color mapper;
#X text 346 648 idea suggested by liz;
#X obj 218 300 hdl 15 1 0 10 empty empty empty 0 -6 0 8 -262144 -1
-1 0;
#X text 372 300 Select color index ( capacity is 10 by default );
#X text 61 364 Pick up the color;
#X text 276 320 X coordinate of cursor;
#X text 285 344 Y coordinate of cursor;
#X text 299 369 R component of the replaced color;
#X text 307 389 G component of the replaced color;
#X text 315 413 B component of the replaced color;
#X text 328 437 Tolerance ( default = 10 );
#X msg 310 514 clear;
#X msg 318 538 delete \$1;
#X text 440 540 Delete a mapping;
#X msg 341 565 resize 20;
#X floatatom 393 540 5 0 0;
#X obj 669 329 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X obj 669 381 pdp_control;
#X msg 669 354 thread \$1;
#X floatatom 669 442 5 0 0;
#X obj 669 413 route pdp_drop;
#X msg 82 596 cursor \$1;
#X obj 157 597 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X text 401 492 Show cursor or not;
#X text 425 566 Resize the color table;
#X text 371 514 Clear the color table;
#X text 1 422 Set the cursor;
#X msg 105 422 setcur \$1 \$2;
#X connect 0 0 59 0;
#X connect 1 0 10 0;
#X connect 2 0 11 0;
#X connect 3 0 2 0;
#X connect 4 0 11 0;
#X connect 5 0 4 0;
#X connect 6 0 5 0;
#X connect 7 0 10 1;
#X connect 8 0 10 0;
#X connect 9 0 7 0;
#X connect 10 0 11 0;
#X connect 11 0 31 0;
#X connect 12 0 31 0;
#X connect 13 0 12 0;
#X connect 14 0 13 0;
#X connect 15 0 13 0;
#X connect 16 0 12 0;
#X connect 17 0 31 4;
#X connect 18 0 31 5;
#X connect 19 0 31 6;
#X connect 20 0 31 2;
#X connect 22 0 31 3;
#X connect 23 0 31 0;
#X connect 24 0 31 7;
#X connect 25 0 31 0;
#X connect 26 0 25 0;
#X connect 28 0 29 0;
#X connect 29 0 31 0;
#X connect 31 0 0 0;
#X connect 34 0 31 1;
#X connect 43 0 31 0;
#X connect 44 0 31 0;
#X connect 46 0 31 0;
#X connect 47 0 44 0;
#X connect 48 0 50 0;
#X connect 49 0 52 0;
#X connect 50 0 49 0;
#X connect 52 0 51 0;
#X connect 53 0 0 0;
#X connect 54 0 53 0;
#X connect 59 0 31 0;
#X connect 59 0 23 0;