max v2; #N vpatcher 50 434 916 929; #P window setfont "Sans Serif" 9.; #P window linecount 2; #P comment 387 121 141 196617 switches allow color channels to be swapped or turned off; #P window linecount 1; #P comment 651 409 100 196617 red channel matrix; #P comment 464 409 100 196617 green channel matrix; #P slider 819 138 15 250 0 1; #P window setfont "Fixedwidth Serif" 10.; #N vpatcher 103 239 470 476; #P origin 0 -6; #N comlet (int) adder; #P inlet 285 23 15 0; #P window setfont "Fixedwidth Serif" 10.; #P window linecount 1; #P newex 22 206 218 1441802 expr ($i1*$i1+15)*sin(0.241661*$f2); #P window setfont Times 10.; #P window linecount 0; #P comment 243 145 104 1310730 ...using any desired mathematical formula...; #P comment 127 125 96 1310730 ...numbered 0 to 15...; #P comment 110 103 161 1310730 ...fill each column (each x position)...; #P comment 197 79 96 1310730 ...numbered 0 to 11...; #P comment 180 54 136 1310730 for each row (each y position)...; #P comment 185 187 49 1310730 y position; #N comlet (int) y location in matrix; #P outlet 170 187 15 0; #P comment 115 187 49 1310730 x position; #N comlet (int) x location in matrix; #P outlet 100 187 15 0; #P window setfont "Fixedwidth Serif" 10.; #P newex 25 148 112 1441802 expr abs($i1-$i3); #P newex 100 123 27 1441802 - 1; #P newex 170 78 27 1441802 - 1; #P newex 36 101 52 1441802 Uzi 320; #P newex 106 52 52 1441802 Uzi 240; #P window setfont Times 10.; #P comment 40 187 29 1310730 value; #N comlet (int) value to put in matrix; #P outlet 25 187 15 0; #N comlet (bang) fill matrix; #P inlet 106 21 15 0; #P comment 121 21 116 1310730 bang to fill a 16x12 matrix; #P fasten 7 0 8 0 30 141; #P connect 8 0 2 0; #P fasten 4 0 5 0 111 97 41 97; #P connect 5 2 7 0; #P connect 7 0 9 0; #P connect 1 0 4 0; #P connect 19 0 8 2; #P connect 4 2 6 0; #P connect 6 0 11 0; #P pop; #P newobj 650 268 124 1441802 patcher fillmatrix2; #P button 650 248 15 0; #P number 650 289 49 10 0 0 64 22 0 0 0 221 221 221 222 222 222 0 0 0; #P number 768 289 35 10 0 240 67 22 0 0 0 221 221 221 222 222 222 0 0 0; #P number 709 289 35 10 0 320 67 22 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 650 307 128 1441802 pack 0 0 0; #P message 650 328 128 1441802 setcell \$2 \$3 val \$1; #P newex 650 375 80 1441802 jit.op @op *; #P newex 650 350 160 1441802 jit.matrix 1 char 320 240; #B color 5; #P window setfont "Sans Serif" 9.; #P message 487 249 36 196617 -0.25; #P newex 528 248 39 196617 - 0.25; #P window setfont "Fixedwidth Serif" 10.; #P flonum 582 249 35 10 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0; #N vpatcher 103 239 470 476; #P origin 0 -6; #N comlet (float) adder; #P inlet 265 25 15 0; #P window setfont "Fixedwidth Serif" 10.; #P window linecount 1; #P newex 22 206 218 1441802 expr ($i1*$i1+15)*sin(0.241661*$f2); #P window setfont Times 10.; #P window linecount 0; #P comment 243 145 104 1310730 ...using any desired mathematical formula...; #P comment 127 125 96 1310730 ...numbered 0 to 15...; #P comment 110 103 161 1310730 ...fill each column (each x position)...; #P comment 197 79 96 1310730 ...numbered 0 to 11...; #P comment 180 54 136 1310730 for each row (each y position)...; #P comment 185 187 49 1310730 y position; #N comlet (int) y location in matrix; #P outlet 170 187 15 0; #P comment 115 187 49 1310730 x position; #N comlet (int) x location in matrix; #P outlet 100 187 15 0; #P window setfont "Fixedwidth Serif" 10.; #P newex 25 148 196 1441802 expr ($i1-25)*sin(0.01*$f2+$f3); #P newex 100 123 27 1441802 - 1; #P newex 170 78 27 1441802 - 1; #P newex 36 101 52 1441802 Uzi 320; #P newex 106 52 52 1441802 Uzi 240; #P window setfont Times 10.; #P comment 40 187 29 1310730 value; #N comlet (int) value to put in matrix; #P outlet 25 187 15 0; #N comlet (bang) fill matrix; #P inlet 106 21 15 0; #P comment 121 21 116 1310730 bang to fill a 16x12 matrix; #P fasten 7 0 8 0 105 144 30 144; #P connect 8 0 2 0; #P fasten 4 0 5 0 111 97 41 97; #P connect 5 2 7 0; #P connect 7 0 9 0; #P connect 1 0 4 0; #P fasten 4 2 8 1 153 73 238 73; #P connect 4 2 6 0; #P connect 6 0 11 0; #P connect 19 0 8 2; #P pop; #P newobj 464 269 124 1441802 patcher fillmatrix1; #P button 464 249 15 0; #P number 464 290 49 10 0 0 64 22 0 0 0 221 221 221 222 222 222 0 0 0; #P number 582 290 35 10 0 240 67 22 0 0 0 221 221 221 222 222 222 0 0 0; #P number 523 290 35 10 0 320 67 22 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 464 308 128 1441802 pack 0 0 0; #P message 464 329 128 1441802 setcell \$2 \$3 val \$1; #P newex 464 376 80 1441802 jit.op @op *; #P newex 464 351 160 1441802 jit.matrix 1 char 320 240; #B color 5; #P window setfont "Sans Serif" 9.; #P message 609 75 37 196617 0.25; #P newex 650 74 48 196617 + 0.25; #P window setfont "Fixedwidth Serif" 10.; #P flonum 704 75 35 10 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0; #N vpatcher 103 239 470 476; #P origin 0 -6; #N comlet (float) adder; #P inlet 265 25 15 0; #P window setfont "Fixedwidth Serif" 10.; #P window linecount 1; #P newex 22 206 218 1441802 expr ($i1*$i1+15)*sin(0.241661*$f2); #P window setfont Times 10.; #P window linecount 0; #P comment 243 145 104 1310730 ...using any desired mathematical formula...; #P comment 127 125 96 1310730 ...numbered 0 to 15...; #P comment 110 103 161 1310730 ...fill each column (each x position)...; #P comment 197 79 96 1310730 ...numbered 0 to 11...; #P comment 180 54 136 1310730 for each row (each y position)...; #P comment 185 187 49 1310730 y position; #N comlet (int) y location in matrix; #P outlet 170 187 15 0; #P comment 115 187 49 1310730 x position; #N comlet (int) x location in matrix; #P outlet 100 187 15 0; #P window setfont "Fixedwidth Serif" 10.; #P newex 25 148 196 1441802 expr ($i1+25)*sin(0.01*$f2+$f3); #P newex 100 123 27 1441802 - 1; #P newex 170 78 27 1441802 - 1; #P newex 36 101 52 1441802 Uzi 320; #P newex 106 52 52 1441802 Uzi 240; #P window setfont Times 10.; #P comment 40 187 29 1310730 value; #N comlet (int) value to put in matrix; #P outlet 25 187 15 0; #N comlet (bang) fill matrix; #P inlet 106 21 15 0; #P comment 121 21 116 1310730 bang to fill a 16x12 matrix; #P fasten 7 0 8 0 105 144 30 144; #P connect 8 0 2 0; #P fasten 4 0 5 0 111 97 41 97; #P connect 5 2 7 0; #P connect 7 0 9 0; #P connect 1 0 4 0; #P fasten 4 2 8 1 153 73 238 73; #P connect 4 2 6 0; #P connect 6 0 11 0; #P connect 19 0 8 2; #P pop; #P newobj 586 95 128 1441802 patcher fillmatrix; #P button 586 75 15 0; #P number 586 116 49 10 0 0 64 22 0 0 0 221 221 221 222 222 222 0 0 0; #P number 704 116 35 10 0 240 67 22 0 0 0 221 221 221 222 222 222 0 0 0; #P number 645 116 35 10 0 320 67 22 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 586 134 128 1441802 pack 0 0 0; #P message 586 155 128 1441802 setcell \$2 \$3 val \$1; #P window setfont "Sans Serif" 9.; #P number 511 152 35 9 0 3 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P number 437 154 35 9 0 3 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P number 364 154 35 9 0 3 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 437 179 53 196617 switch 3; #P newex 511 179 53 196617 switch 3; #P newex 364 180 53 196617 switch 3; #P window setfont "Fixedwidth Serif" 10.; #P newex 586 202 80 1441802 jit.op @op *; #P newex 586 177 160 1441802 jit.matrix 1 char 320 240; #B color 5; #P window setfont "Sans Serif" 9.; #P newex 350 414 52 196617 jit.pack; #P newex 350 57 66 196617 jit.unpack; #P window setfont "Fixedwidth Serif" 10.; #P message 48 94 38 1441802 start; #P message 15 94 32 1441802 stop; #P message 12 161 82 1441802 size 320 240; #P user jit.pwindow 10 207 322 242 0 1 0 0 1 0; #P button 102 133 15 0; #P window setfont Times 10.; #P comment 22 46 29 1310730 Open; #P comment 117 93 26 1310730 Play; #P window setfont "Fixedwidth Serif" 10.; #P message 246 68 43 1441802 time 0; #P message 229 68 14 1441802 1; #P button 229 46 15 0; #P newex 102 112 55 1441802 metro 40; #P toggle 102 92 15 0; #P message 20 60 185 1441802 read match_your_mood_256kb.mp4; #P newex 102 159 128 1441802 jit.qt.movie 320 240; #B color 5; #P window setfont Times 10.; #P comment 244 46 43 1310730 Restart; #P user panel 96 84 67 70; #X brgb 255 255 127; #X frgb 0 0 0; #X border 0; #X rounded 0; #X shadow 0; #X done; #P user panel 16 42 121 42; #X brgb 255 127 255; #X frgb 0 0 0; #X border 0; #X rounded 0; #X shadow 0; #X done; #P window setfont "Sans Serif" 9.; #P comment 585 52 100 196617 blue channel matrix; #P fasten 19 0 14 0 355 444 341 444 341 196 16 196; #P fasten 15 0 14 0 17 220 16 220; #P fasten 9 0 6 0 234 88 107 88; #P connect 6 0 7 0; #P connect 7 0 13 0; #P fasten 10 0 4 0 251 155 107 155; #P connect 13 0 4 0; #P fasten 5 0 4 0 25 89 93 89 93 155 107 155; #P fasten 17 0 4 0 53 155 107 155; #P fasten 16 0 4 0 20 155 107 155; #P connect 8 0 9 0; #P fasten 8 0 10 0 234 64 251 64; #P fasten 4 0 18 0 107 186 313 186 313 37 355 37; #P connect 18 0 19 0; #P connect 25 0 22 0; #P fasten 51 0 19 1 655 400 369 400; #P fasten 18 1 22 1 369 80 423 80 423 174 383 174; #P fasten 39 0 19 2 469 400 383 400; #P fasten 18 2 22 2 383 80 423 80 423 174 397 174; #P fasten 21 0 19 3 591 232 397 232; #P fasten 18 3 22 3 397 80 423 80 423 174 411 174; #P connect 26 0 24 0; #P fasten 18 1 24 1 369 80 494 80 494 173 456 173; #P connect 45 0 46 0; #P connect 46 0 44 0; #P connect 44 0 41 0; #P connect 41 0 40 0; #P fasten 45 0 38 0 469 266 458 266 458 348 469 348; #P connect 40 0 38 0; #P fasten 24 0 39 0 442 372 469 372; #P fasten 18 2 24 2 383 80 494 80 494 173 470 173; #P fasten 18 3 24 3 397 80 494 80 494 173 484 173; #P fasten 45 0 49 0 469 266 482 266 482 246 492 246; #P connect 27 0 23 0; #P connect 46 1 42 0; #P connect 42 0 41 1; #P fasten 18 1 23 1 369 80 571 80 571 172 530 172; #P fasten 49 0 48 0 492 266 525 266 525 244 533 244; #P fasten 38 0 39 1 469 372 539 372; #P fasten 18 2 23 2 383 80 571 80 571 172 544 172; #P fasten 18 3 23 3 397 80 571 80 571 172 558 172; #P fasten 47 0 48 1 587 266 619 266 619 244 562 244; #P connect 47 0 46 1; #P fasten 48 0 47 0 533 266 579 266 579 244 587 244; #P connect 46 2 43 0; #P connect 43 0 41 2; #P connect 33 0 34 0; #P connect 34 0 32 0; #P connect 32 0 29 0; #P connect 29 0 28 0; #P fasten 33 0 20 0 591 92 580 92 580 174 591 174; #P connect 28 0 20 0; #P fasten 23 0 21 0 516 199 591 199; #P fasten 33 0 37 0 591 92 604 92 604 72 614 72; #P connect 34 1 30 0; #P connect 30 0 29 1; #P fasten 37 0 36 0 614 92 647 92 647 70 655 70; #P connect 57 0 58 0; #P connect 58 0 56 0; #P connect 56 0 53 0; #P connect 53 0 52 0; #P connect 52 0 50 0; #P fasten 57 0 50 0 655 265 644 265 644 347 655 347; #P fasten 22 0 51 0 369 372 655 372; #P fasten 20 0 21 1 591 198 661 198; #P fasten 35 0 36 1 709 92 741 92 741 70 693 70; #P fasten 36 0 35 0 655 92 701 92 701 70 709 70; #P connect 35 0 34 1; #P connect 34 2 31 0; #P connect 31 0 29 2; #P connect 58 1 54 0; #P connect 54 0 53 1; #P fasten 50 0 51 1 655 371 725 371; #P fasten 59 0 58 1 824 398 815 398 815 263 769 263; #P connect 58 2 55 0; #P connect 55 0 53 2; #P pop;