The big Project I did
I put more time into this one then the other three (or was it four?) combined, so I hope you all like it. Pretty much what it does, is it takes a video (I chose a rip of Bambi meets Godzilla, Dancing Baby meets Godzilla) and randomly, in a five by five grid outputs shots from the movie. It does this in an external window that bumbles around the screen. The patch looks like this:
However, the real output bumbles around the screen (as I mentioned above) like this:
I feel I might as well show a couple of the mid process patches, just to show the iterations. The second to finished one is fairly similar-it's the first one, that's really the mess-it did play the video in all the little grid squares, however it did little else.
The second iteration:
Iteration, the first:
I ended up getting something I liked, but it still wasn't a feed of the video into all the little squares, rather it was a screen shot because the switch and route functions only take an instant of it all. I'm done for now (certainly don't want to look at it for another week) but if anyone can think of a way so I can acoomplish true randomness of where the squares are glued back, and still maintain the video, without 25 squared connecting lines (cause I have thought of a way that would work, involving that) then I'm all ears-I'll keep turning it over in my head, in the mean while.
Anyhow, here's the code-enjoy:
max v2;
#N vpatcher 44 77 1059 780;
#P origin 27 0;
#P window setfont "Sans Serif" 9.;
#P number 169 633 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 185 592 15 0;
#P newex 223 622 85 196617 scale 1 100 0. 1.;
#P newex 138 592 45 196617 metro 2;
#P toggle 100 585 15 0;
#P newex 204 593 70 196617 drunk 100 10;
#P flonum 283 587 45 9 0. 1. 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 361 553 49 196617 xfade \$1;
#P newex 362 577 48 196617 jit.xfade;
#P newex 653 586 35 196617 + 240;
#P newex 445 578 35 196617 + 320;
#P number 587 626 35 9 480 480 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 703 567 35 9 640 640 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 801 592 15 0;
#P newex 805 556 45 196617 metro 2;
#P toggle 809 531 15 0;
#P newex 718 666 70 196617 drunk 440 20;
#P newex 713 645 64 196617 drunk 480 5;
#P newex 710 621 70 196617 drunk 600 20;
#P newex 702 594 64 196617 drunk 640 5;
#P number 591 570 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 556 570 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 521 570 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 486 570 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 483 592 141 196617 pak rect 0 0 640 480;
#P newex 347 615 220 196617 jit.window @rect 715 475 845 605 @border 0;
#B color 5;
#P toggle 378 307 15 0;
#P button 347 463 15 0;
#P newex 353 432 48 196617 metro 0.1;
#P newex 349 485 55 196617 random 25;
#P button 388 388 15 0;
#P newex 386 357 48 196617 metro 0.1;
#P newex 382 410 55 196617 random 25;
#P newex 431 453 339 196617 switch 25;
#P newex 442 498 326 196617 gate 25;
#P user jit.pwindow 18 329 322 242 0 1 0 0 1 0;
#P newex 437 549 348 196617 jit.glue @rows 5 @columns 5;
#P newex 603 174 80 196617 scale 1 100 2 5;
#P number 646 233 35 9 1 16 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 592 235 35 9 1 16 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 646 254 59 196617 columns \$1;
#P message 592 254 45 196617 rows \$1;
#P newex 443 413 339 196617 jit.scissors @rows 5 @columns 5;
#B color 5;
#P user pictslider 450 150 100 100 4 4 4 4 SliderDefaultKnob.pct 1 SliderDefaultBkgnd.pct 1 2163 0 6553601 65636 1. 1.;
#P newex 233 30 95 196617 scale 1. 100. -4. 4.;
#P user pictslider 470 30 100 100 4 4 4 4 SliderDefaultKnob.pct 1 SliderDefaultBkgnd.pct 1 2163 0 6553600 100 1. 1.;
#P newex 138 30 92 196617 scale 1. 100. 1. 5.;
#P newex 335 30 95 196617 scale 1. 100. -1. 1.;
#P flonum 283 60 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 138 60 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 215 60 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 283 79 69 196617 saturation \$1;
#P message 138 79 70 196617 brightness \$1;
#P message 215 79 61 196617 contrast \$1;
#P newex 10 142 53 196617 jit.brcosa;
#P message 83 58 29 196617 read;
#P toggle 14 25 15 0;
#P newex 11 55 51 196617 metro 20;
#P newex 11 100 104 196617 jit.qt.movie 320 240;
#P comment 733 316 100 196617 was there a way to randomize their output? This seems a bit ungainly;
#P connect 7 0 5 0;
#P connect 6 0 5 0;
#P connect 8 0 5 0;
#P connect 1 0 5 0;
#P connect 3 0 2 0;
#P connect 4 0 1 0;
#P connect 2 0 1 0;
#P connect 51 0 24 0;
#P connect 14 1 13 0;
#P connect 13 0 10 0;
#P connect 10 0 7 0;
#P connect 55 0 56 0;
#P connect 54 0 59 0;
#P connect 56 0 58 0;
#P connect 58 0 54 0;
#P connect 15 0 9 0;
#P connect 9 0 6 0;
#P connect 59 0 57 0;
#P connect 16 0 15 0;
#P connect 12 0 11 0;
#P connect 11 0 8 0;
#P connect 57 0 53 0;
#P connect 14 0 12 0;
#P connect 31 0 32 0;
#P connect 35 0 34 0;
#P connect 51 0 34 0;
#P connect 32 0 30 0;
#P connect 33 0 31 0;
#P connect 53 0 52 0;
#P connect 23 0 51 0;
#P connect 52 0 51 0;
#P connect 29 0 27 0;
#P connect 33 0 28 0;
#P connect 28 0 29 0;
#P connect 5 0 51 1;
#P connect 27 0 26 0;
#P connect 17 0 23 0;
#P connect 30 0 25 0;
#P fasten 19 0 17 0 651 275 448 275;
#P fasten 18 0 17 0 597 269 448 269;
#P connect 5 0 17 0;
#P connect 17 1 26 1;
#P connect 36 0 49 0;
#P connect 25 1 23 1;
#P connect 17 1 26 2;
#P connect 25 2 23 2;
#P connect 17 2 26 3;
#P connect 25 3 23 3;
#P connect 17 3 26 4;
#P connect 41 0 36 0;
#P connect 25 4 23 4;
#P connect 17 4 26 5;
#P connect 25 5 23 5;
#P connect 17 5 26 6;
#P fasten 36 0 35 1 491 588 520 588;
#P connect 25 6 23 6;
#P connect 43 0 37 0;
#P connect 17 6 26 7;
#P connect 17 7 26 8;
#P connect 25 7 23 7;
#P fasten 37 0 35 2 526 588 552 588;
#P connect 17 8 26 9;
#P connect 25 8 23 8;
#P connect 49 0 38 0;
#P connect 17 9 26 10;
#P connect 25 9 23 9;
#P connect 17 10 26 11;
#P connect 25 10 23 10;
#P fasten 38 0 35 3 561 588 584 588;
#P connect 17 11 26 12;
#P connect 25 11 23 11;
#P connect 50 0 39 0;
#P connect 22 0 20 0;
#P connect 20 0 18 0;
#P connect 17 12 26 13;
#P connect 16 1 22 0;
#P connect 25 12 23 12;
#P fasten 39 0 35 4 596 588 616 588;
#P connect 17 13 26 14;
#P connect 25 13 23 13;
#P connect 17 14 26 15;
#P connect 25 14 23 14;
#P connect 17 15 26 16;
#P connect 22 0 21 0;
#P connect 21 0 19 0;
#P connect 25 15 23 15;
#P connect 17 16 26 17;
#P connect 37 0 50 0;
#P connect 25 16 23 16;
#P connect 17 17 26 18;
#P connect 25 17 23 17;
#P connect 17 18 26 19;
#P connect 25 18 23 18;
#P connect 17 19 26 20;
#P connect 46 0 40 0;
#P connect 47 0 40 0;
#P connect 25 19 23 19;
#P connect 17 20 26 21;
#P connect 46 0 41 0;
#P connect 46 0 42 0;
#P connect 48 0 42 0;
#P connect 17 21 26 22;
#P connect 25 20 23 20;
#P connect 46 0 43 0;
#P connect 17 22 26 23;
#P connect 25 21 23 21;
#P connect 17 23 26 24;
#P connect 25 22 23 22;
#P connect 17 24 26 25;
#P connect 26 0 25 1;
#P connect 25 23 23 23;
#P connect 25 24 23 24;
#P connect 45 0 46 0;
#P connect 44 0 45 0;
#P pop;
0 Comments:
Post a Comment
<< Home