Commit f236299c authored by J Reso's avatar J Reso
Browse files

video-kalei add commands and look + video-halftone

parent 5a194029
Pipeline #3379 skipped
#N canvas 267 92 700 545 10;
#N canvas 265 91 700 545 10;
#X declare -path ../core -path ../in -path ../out;
#X declare -path ../core;
#X declare -path ../core;
......@@ -12,13 +12,13 @@
0;
#X obj 374 41 cnv 15 140 20 empty empty POSITIONS 10 11 1 9 -262110
-1 0;
#X obj 374 341 cnv 15 100 20 empty empty SAMPLER 10 11 1 9 -262110
#X obj 374 341 cnv 15 140 20 empty empty SAMPLER 10 11 1 9 -262110
-1 0;
#X obj 535 41 cnv 15 100 20 empty empty TRACKING 10 11 1 9 -262110
#X obj 537 41 cnv 15 140 20 empty empty TRACKING 10 11 1 9 -262110
-1 0;
#X obj 33 40 cnv 15 100 20 empty empty INPUT 20 11 1 9 -262110 -1 0
#X obj 36 41 cnv 15 140 20 empty empty INPUT 20 11 1 9 -262110 -1 0
;
#X obj 33 200 cnv 15 140 20 empty empty OUTPUT 20 11 1 9 -262110 -1
#X obj 35 198 cnv 15 140 20 empty empty OUTPUT 20 11 1 9 -262110 -1
0;
#X obj 36 70 video-camera;
#X obj 35 229 video-out;
......@@ -76,7 +76,7 @@ size 10 10 \, cnv size 10 10;
#X connect 7 0 6 0;
#X connect 8 0 5 0;
#X restore 558 382 pd _COLORS_;
#X obj 212 448 video-larsen;
#X obj 205 461 video-larsen;
#X obj 558 402 universal 1;
#X obj 538 138 track-color;
#X obj 204 143 video-effects;
......
#N canvas 142 217 663 370 10;
#X obj 63 252 pix_halftone;
#X obj 199 129 hradio 8 1 0 5 empty empty style 10 -6 1 9 -262110 -1
-1 0;
#N canvas 629 263 663 370 10;
#X obj 101 116 cnv 10 138 22 empty empty empty 3 6 0 10 -262110 -1
0;
#X obj 78 226 pix_halftone;
#X obj 188 129 hradio 8 1 0 5 \$0-style \$0-style-in style 10 -6 1
9 -262110 -1 -1 0;
#X msg 199 208 style \$1;
#X obj 63 297 pix_texture;
#X obj 63 329 outlet;
#X obj 42 32 inlet;
#X obj 101 127 nbx 3 10 -1e+37 32 0 0 empty empty size 0 -5 1 9 -262110
-1 -1 3 256;
#X obj 135 127 nbx 3 10 -1e+37 1e+37 0 0 empty empty angle 0 -5 1 9
-262110 -1 -1 0 256;
#X obj 167 127 nbx 3 10 -1e+37 1e+37 0 0 empty empty smooth 0 -5 1
9 -262110 -1 -1 0 256;
#X obj 391 114 route size angle smooth style;
#X obj 391 86 inlet command;
#X obj 9 160 gate 2;
#X obj 229 104 tgl 10 0 empty empty empty 17 7 1 9 -262110 -1 -1 1
1;
#X obj 9 112 + 1;
#X obj 238 6 initbang;
#X msg 337 55 size 3 \, angle 0 \, smooth 0;
#X obj 42 65 pix_rgba;
#X connect 0 0 3 0;
#X connect 1 0 2 0;
#X connect 2 0 0 0;
#X connect 3 0 4 0;
#X connect 5 0 16 0;
#X connect 6 0 0 1;
#X connect 7 0 0 2;
#X connect 8 0 0 3;
#X connect 9 0 6 0;
#X connect 9 1 7 0;
#X connect 9 2 8 0;
#X connect 9 3 1 0;
#X connect 10 0 9 0;
#X connect 11 0 3 0;
#X connect 11 1 0 0;
#X connect 12 0 13 0;
#X obj 45 261 pix_texture;
#X obj 45 293 outlet;
#X obj 78 2 inlet;
#X obj 101 127 nbx 3 10 -1e+37 32 0 0 \$0-size \$0-size-in size 0 -5
1 9 -262110 -1 -1 0 256;
#X obj 130 127 nbx 3 10 -1e+37 1e+37 0 0 \$0-angle \$0-angle-in angle
0 -5 1 9 -262110 -1 -1 0 256;
#X obj 159 127 nbx 3 10 -1e+37 1e+37 0 0 \$0-smooth \$0-smooth-in smooth
0 -5 1 9 -262110 -1 -1 0 256;
#X obj 335 47 inlet command;
#X obj 45 130 gate 2;
#X obj 230 116 tgl 10 0 \$0-onoff \$0-onoff-in empty 17 7 1 9 -262110
-1 -1 0 1;
#X obj 45 92 + 1;
#X obj 353 75 initbang;
#X obj 78 35 pix_rgba;
#X obj 335 124 route on size angle smooth style;
#X msg 353 100 on 1 \, size 3 \, angle 0 \, smooth 0 \, style 0;
#X obj 335 238 s \$0-onoff-in;
#X obj 45 68 r \$0-onoff;
#X obj 365 218 s \$0-size-in;
#X obj 385 197 s \$0-angle-in;
#X obj 405 176 s \$0-smooth-in;
#X obj 425 156 s \$0-style-in;
#X connect 1 0 4 0;
#X connect 2 0 3 0;
#X connect 3 0 1 0;
#X connect 4 0 5 0;
#X connect 6 0 15 0;
#X connect 7 0 1 1;
#X connect 8 0 1 2;
#X connect 9 0 1 3;
#X connect 10 0 16 0;
#X connect 11 0 4 0;
#X connect 11 1 1 0;
#X connect 13 0 11 0;
#X connect 14 0 12 0;
#X connect 14 0 15 0;
#X connect 15 0 9 0;
#X connect 16 0 11 1;
#X connect 14 0 17 0;
#X connect 15 0 11 1;
#X connect 16 0 18 0;
#X connect 16 1 20 0;
#X connect 16 2 21 0;
#X connect 16 3 22 0;
#X connect 16 4 23 0;
#X connect 17 0 16 0;
#X connect 19 0 13 0;
#X coords 0 -1 1 1 140 40 1 100 100;
#N canvas 472 103 748 649 10;
#N canvas 470 102 748 649 10;
#X obj 100 117 cnv 10 98 10 empty empty empty 20 12 1 9 -262110 -1
0;
#X obj 131 287 gemhead;
#X obj 277 290 inlet;
#X obj 91 396 outlet;
......@@ -6,10 +8,8 @@
#X obj 94 53 initbang;
#X obj 31 43 inlet on;
#X obj 26 93 s \$0-on-in;
#X obj 100 97 cnv 2 91 2 empty \$0-cnv empty 15 5 1 9 -262110 -1 0
;
#X obj 190 117 tgl 10 0 \$0-on \$0-on-in empty 3 6 1 9 -262110 -1 -1
1 1;
0 1;
#X obj 83 336 switch 2;
#X obj 131 307 pix_image;
#X obj 100 117 bng 10 250 50 0 \$0-open \$0-open-in o 3 5 0 8 -262110
......@@ -71,11 +71,11 @@
#X obj 567 164 s \$0-gemhead;
#X obj 141 246 r \$0-on;
#X obj 28 68 route float;
#X connect 0 0 10 0;
#X connect 1 0 59 1;
#X connect 3 0 63 0;
#X connect 4 0 6 0;
#X connect 5 0 68 0;
#X connect 1 0 10 0;
#X connect 2 0 59 1;
#X connect 4 0 63 0;
#X connect 5 0 7 0;
#X connect 6 0 68 0;
#X connect 9 0 60 0;
#X connect 10 0 9 1;
#X connect 12 0 29 0;
......@@ -133,7 +133,7 @@
#X connect 58 0 45 0;
#X connect 58 1 38 0;
#X connect 59 0 9 2;
#X connect 60 0 2 0;
#X connect 60 0 3 0;
#X connect 61 0 24 0;
#X connect 62 0 61 0;
#X connect 63 0 21 0;
......@@ -141,9 +141,9 @@
#X connect 63 2 42 0;
#X connect 63 3 64 0;
#X connect 64 0 66 0;
#X connect 65 0 0 0;
#X connect 65 0 1 0;
#X connect 65 0 18 0;
#X connect 67 0 0 0;
#X connect 67 0 1 0;
#X connect 67 0 18 0;
#X connect 68 0 6 0;
#X connect 68 0 7 0;
#X coords 0 -1 1 1 100 30 1 100 100;
#N canvas 133 80 760 473 10;
#X floatatom 471 167 5 0 0 0 - - -;
#X floatatom 338 167 5 0 0 0 - - -;
#X floatatom 406 167 5 0 0 0 - - -;
#X obj 101 166 gemhead;
#X msg 592 217 0 \, destroy;
#X msg 579 186 create \, 1;
#X obj 579 292 gemwin;
#X msg 604 267 lighting 1;
#X obj 604 247 loadbang;
#X text 576 163 Gem window;
#X text 662 185 <- on;
#X text 664 218 <- off;
#X obj 101 311 rectangle 4 3;
#X obj 581 367 gemhead;
#X obj 581 389 world_light;
#X msg 406 192 in \$1;
#X msg 471 192 out \$1;
#X msg 338 191 seg \$1;
#X obj 101 191 pix_image ../../medias/images/tmp.jpg;
#X obj 101 236 video-kalei;
#X text 94 34 video-kalei \; ----------- \; Kaleidoscope effect \;
#N canvas 123 77 628 473 10;
#X floatatom 265 161 5 0 0 0 - - -;
#X floatatom 132 161 5 0 0 0 - - -;
#X floatatom 200 161 5 0 0 0 - - -;
#X obj 39 91 gemhead;
#X msg 496 140 0 \, destroy;
#X msg 483 109 create \, 1;
#X obj 483 165 gemwin;
#X text 480 86 Gem window;
#X text 566 108 <- on;
#X text 568 141 <- off;
#X obj 39 296 rectangle 4 3;
#X msg 200 186 in \$1;
#X msg 265 186 out \$1;
#X msg 132 185 seg \$1;
#X obj 39 116 pix_image ../../medias/images/tmp.jpg;
#X text 32 19 video-kalei \; ----------- \; Kaleidoscope effect \;
;
#X connect 0 0 16 0;
#X connect 1 0 17 0;
#X connect 2 0 15 0;
#X connect 3 0 18 0;
#X obj 318 162 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X msg 318 185 on \$1;
#X text 149 225 Other messages;
#X text 162 383 sap : source angle proportion \, sets the angular size
of the source segment \, relative to the size of the output segment
\; altering this value will squash or expand (0.1..10 \, default: 1)
;
#X text 160 339 rlp : reflection line proportion \, controls the relative
sizes of each pair of adjacent segments in the output image (0..1 \,
default 0.5);
#X msg 151 244 in-position 0.2 0.5 \, out-position 0.1 1 \, rlp 0.2
\, sap 2;
#X obj 39 221 video-kalei;
#X connect 0 0 12 0;
#X connect 1 0 13 0;
#X connect 2 0 11 0;
#X connect 3 0 14 0;
#X connect 4 0 6 0;
#X connect 5 0 6 0;
#X connect 7 0 6 0;
#X connect 8 0 7 0;
#X connect 13 0 14 0;
#X connect 15 0 19 1;
#X connect 16 0 19 1;
#X connect 17 0 19 1;
#X connect 18 0 19 0;
#X connect 19 0 12 0;
#X connect 11 0 22 1;
#X connect 12 0 22 1;
#X connect 13 0 22 1;
#X connect 14 0 22 0;
#X connect 16 0 17 0;
#X connect 17 0 22 1;
#X connect 21 0 22 1;
#X connect 22 0 10 0;
#X coords 0 0 1 1 150 50 0;
#N canvas 2 166 576 571 10;
#X obj 98 385 pix_texture;
#X obj 98 363 pix_kaleidoscope;
#X floatatom 431 285 5 0.1 10 1 sap - -;
#X floatatom 415 269 5 0 1 1 rlp - -;
#X obj 400 248 pack;
#X obj 454 248 t b f;
#X floatatom 400 209 4 0 100 0 - - -;
#X floatatom 452 209 4 0 100 0 - - -;
#X obj 400 228 * 0.01;
#X obj 452 228 * 0.01;
#X obj 262 254 pack;
#X obj 316 254 t b f;
#X floatatom 262 215 4 0 100 0 - - -;
#X floatatom 314 215 4 0 100 0 - - -;
#X obj 262 234 * 0.01;
#X obj 314 234 * 0.01;
#X obj 98 488 outlet gemlist;
#X obj 100 124 nbx 3 10 -1e+37 32 0 0 empty empty seg 2 -5 1 9 -262110
-1 -1 0 256;
#X obj 129 124 nbx 3 10 -1e+37 1e+37 0 0 empty empty in 0 -5 1 9 -262110
-1 -1 0 256;
#X obj 158 124 nbx 3 10 -1e+37 1e+37 0 0 empty empty out 0 -5 1 9 -262110
-1 -1 0 256;
#X obj 51 94 inlet;
#X obj 18 172 gate 2;
#X obj 190 124 tgl 10 0 empty empty empty 17 7 1 9 -262110 -1 -1 1
1;
#X obj 18 149 + 1;
#X obj 238 65 initbang;
#X obj 398 95 inlet command;
#X obj 398 117 route seg in out;
#X connect 0 0 16 0;
#X connect 1 0 0 0;
#X connect 2 0 1 7;
#X connect 3 0 1 6;
#X connect 4 0 1 5;
#X connect 5 0 4 0;
#X connect 5 1 4 1;
#X connect 6 0 8 0;
#X connect 7 0 9 0;
#X connect 8 0 4 0;
#X connect 9 0 5 0;
#X connect 10 0 1 3;
#X connect 11 0 10 0;
#X connect 11 1 10 1;
#X connect 12 0 14 0;
#X connect 13 0 15 0;
#X connect 14 0 10 0;
#X connect 15 0 11 0;
#X connect 17 0 1 1;
#X connect 18 0 1 2;
#X connect 19 0 1 4;
#X connect 20 0 21 1;
#X connect 21 0 0 0;
#X connect 21 1 1 0;
#X connect 22 0 23 0;
#X connect 23 0 21 0;
#X connect 24 0 22 0;
#X connect 25 0 26 0;
#X connect 26 0 17 0;
#X connect 26 1 18 0;
#X connect 26 2 19 0;
#N canvas 1 160 759 384 10;
#X obj 101 118 cnv 10 98 18 empty empty empty 3 6 0 10 -262110 -1 0
;
#X obj 88 255 pix_texture;
#X obj 88 233 pix_kaleidoscope;
#X obj 88 284 outlet gemlist;
#X obj 100 126 nbx 3 10 0 64 0 0 \$0-seg \$0-seg-in seg 2 -5 1 9 -262110
-1 -1 3 256;
#X obj 129 126 nbx 3 10 -360 360 0 0 \$0-in \$0-in-in in 0 -5 1 9 -262110
-1 -1 360 256;
#X obj 158 126 nbx 3 10 -360 360 0 0 \$0-out \$0-out-in out 0 -5 1
9 -262110 -1 -1 69 256;
#X obj 51 96 inlet;
#X obj 18 174 gate 2;
#X obj 190 126 tgl 10 0 \$0-onoff \$0-onoff-in empty 17 7 1 9 -262110
-1 -1 1 1;
#X obj 18 151 + 1;
#X obj 456 3 initbang;
#X obj 335 27 inlet command;
#X obj 18 68 r \$0-onoff;
#X obj 335 223 s \$0-onoff-in;
#X obj 390 178 s \$0-in-in;
#X obj 418 156 s \$0-out-in;
#X obj 362 200 s \$0-seg-in;
#X obj 455 27 f \$1;
#X obj 455 51 sel 0;
#X msg 353 90 on 1 \, seg \$1;
#X msg 455 76 6;
#X obj 116 165 r \$0-in-position;
#X obj 179 186 r \$0-out-position;
#X obj 211 209 r \$0-rlp;
#X obj 224 235 r \$0-sap;
#X obj 335 115 route on seg in out in-position out-position rlp sap
;
#X obj 500 235 s \$0-in-position;
#X obj 519 205 s \$0-out-position;
#X obj 603 161 s \$0-rlp;
#X obj 618 140 s \$0-sap;
#X connect 1 0 3 0;
#X connect 2 0 1 0;
#X connect 4 0 2 1;
#X connect 5 0 2 2;
#X connect 6 0 2 4;
#X connect 7 0 8 1;
#X connect 8 0 1 0;
#X connect 8 1 2 0;
#X connect 10 0 8 0;
#X connect 11 0 18 0;
#X connect 12 0 26 0;
#X connect 13 0 10 0;
#X connect 18 0 19 0;
#X connect 19 0 21 0;
#X connect 19 1 20 0;
#X connect 20 0 26 0;
#X connect 21 0 20 0;
#X connect 22 0 2 3;
#X connect 23 0 2 5;
#X connect 24 0 2 6;
#X connect 25 0 2 7;
#X connect 26 0 14 0;
#X connect 26 1 17 0;
#X connect 26 2 15 0;
#X connect 26 3 16 0;
#X connect 26 4 27 0;
#X connect 26 5 28 0;
#X connect 26 6 29 0;
#X connect 26 7 30 0;
#X coords 0 -1 1 1 100 40 1 100 100;
#N canvas 217 346 591 327 10;
#X obj 101 116 cnv 10 98 18 empty empty empty 3 6 0 10 -262110 -1 0
#N canvas 211 343 591 327 10;
#X obj 101 116 cnv 10 98 18 empty empty empty 3 6 1 10 -262110 -1 0
;
#X obj 297 21 inlet;
#X obj 38 187 + 1;
......@@ -8,7 +8,7 @@
#X obj 190 125 bng 10 250 50 0 \$0-openfont \$0-openfont-in o 3 5 0
8 -262110 -1 -1;
#X obj 115 125 nbx 3 10 -1e+37 1e+37 0 0 \$0-size \$0-size-in size
0 -5 0 8 -262110 -1 -1 20 256;
0 -5 1 9 -262110 -1 -1 20 256;
#X obj 38 261 text2d;
#X obj 124 265 text3d;
#X obj 222 21 inlet text;
......@@ -21,7 +21,7 @@
#X msg 222 50 text \$1;
#X obj 401 93 r \$0-openfont;
#X obj 222 193 s \$0-size-in;
#X obj 100 125 tgl 10 0 \$0-3d \$0-3d-in 3d 1 -4 0 8 -262110 -1 -1
#X obj 100 125 tgl 10 0 \$0-3d \$0-3d-in 3d 1 -4 1 9 -262110 -1 -1
1 1;
#X obj 222 115 route size 3d font text;
#X obj 258 170 s \$0-3d-in;
......
#N canvas 422 344 775 360 10;
#N canvas 418 342 775 360 10;
#X obj 41 311 outlet;
#X obj 41 226 translateXYZ;
#X obj 41 281 rotateXYZ;
#X obj 296 -11 inlet command;
#X obj 389 14 route rx ry rz;
#X obj 52 5 inlet gemlist;
#X obj 295 80 inlet command;
#X obj 388 105 route rx ry rz;
#X obj 74 19 inlet gemlist;
#X obj 74 72 gemhead;
#X obj 41 109 switch;
#X obj 41 86 + 1;
#X obj 306 48 initbang;
#X obj 306 71 f \$1;
#X obj 0 73 + 1;
#X obj 528 21 initbang;
#X obj 528 44 f \$1;
#X obj 151 116 cnv 15 98 30 empty empty translate 2 6 1 9 -262110 -1
0;
#X obj 64 193 r \$0-tx;
......@@ -18,36 +18,36 @@
#X obj 58 252 r \$0-rx;
#X obj 107 252 r \$0-ry;
#X obj 155 252 r \$0-rz;
#X obj 470 71 s \$0-tx-in;
#X obj 497 95 s \$0-ty-in;
#X obj 524 121 s \$0-tz-in;
#X obj 389 68 s \$0-rx-in;
#X obj 416 94 s \$0-ry-in;
#X obj 443 121 s \$0-rz-in;
#X obj 469 162 s \$0-tx-in;
#X obj 496 186 s \$0-ty-in;
#X obj 523 212 s \$0-tz-in;
#X obj 388 159 s \$0-rx-in;
#X obj 415 185 s \$0-ry-in;
#X obj 442 212 s \$0-rz-in;
#X obj 154 135 nbx 3 10 -20 20 0 0 \$0-tx \$0-tx-in tx 7 -4 1 9 -262110
-1 -1 0 256;
#X obj 186 135 nbx 3 10 -20 20 0 0 \$0-ty \$0-ty-in ty 7 -4 1 9 -262110
-1 -1 1 256;
-1 -1 0 256;
#X obj 218 135 nbx 3 10 -20 20 0 0 \$0-tz \$0-tz-in tz 7 -4 1 9 -262110
-1 -1 0 256;
#X obj 302 131 s \$0-3d-in;
#X obj 74 43 r \$0-3d;
#X obj 295 227 s \$0-3d-in;
#X obj 0 41 r \$0-3d;
#X obj 151 147 cnv 15 98 30 empty empty rotate 2 6 1 9 -262110 -1 0
;
#X obj 219 166 nbx 3 10 0 360 0 0 \$0-rz \$0-rz-in rz 7 -4 1 9 -262110
-1 -1 20 256;
-1 -1 0 256;
#X obj 187 166 nbx 3 10 0 360 0 0 \$0-ry \$0-ry-in ry 7 -4 1 9 -262110
-1 -1 15 256;
-1 -1 0 256;
#X obj 155 166 nbx 3 10 0 360 0 0 \$0-rx \$0-rx-in rx 7 -4 1 9 -262110
-1 -1 0 256;
#X obj 226 103 tgl 10 0 \$0-3d \$0-3d-in 3d 12 6 1 9 -262110 -1 -1
1 1;
#X obj 305 94 s \$0-3d-in;
#X obj 558 80 unpack f f f;
#X obj 664 83 unpack f f f;
#X obj 296 13 route float;
#X obj 22 25 route float;
#X obj 472 44 route tx ty tz rotate translate 3d r t;
0 1;
#X obj 527 67 s \$0-3d-in;
#X obj 557 171 unpack f f f;
#X obj 663 174 unpack f f f;
#X obj 295 104 route float;
#X obj 74 42 route float;
#X obj 471 135 route tx ty tz rotate translate 3d r t;
#X connect 1 0 2 0;
#X connect 2 0 0 0;
#X connect 3 0 37 0;
......
......@@ -3,7 +3,7 @@
# Language: en (english) / fr (french)
language: fr
# Level: 0 (beginner) / 1 (expert)
level: 0
level: 1
# Project folder in "projects/". Don't forget to add a "new.pd" file
project: default
# Video screen size in pixels
......
#N canvas 145 77 800 687 10;
#N canvas 143 77 800 687 10;
#X declare -path ../../abstractions/in -path ../../abstractions/out
-path ../../abstractions/numbers -path ../../abstractions/video -path
../../abstractions/audio -path ../../abstractions/core -path ../../abstractions/brutbox
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment