[jitter] [sharing-is-unsparing-caring] Pool party (xray.jit.water + jit.lcd)
barry threw
bthrew at gmail.com
Mon Sep 10 17:10:56 MDT 2007
- Previous message: [jitter] [sharing-is-unsparing-caring] Pool party (xray.jit.water + jit.lcd)
- Next message: [jitter] [sharing-is-unsparing-caring] Pool party (xray.jit.water + jit.lcd)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The intel crowd is SOL with xray, looks like. There a UB beta or something? b On Sep 10, 2007, at 3:00 PM, Dan Winckler wrote: > Hey everyone, > > Here's a pared-down version of a patch I used in a performance on > Wednesday. I used jit.lcd to feed shapes into Wes' xray.jit.water, > which creates lovely, rippling patterns. It's even funner when you > feed it with your musical collaborator's MIDI and blend it with > gradients and movies. You can get the xray objects at http:// > www.mat.ucsb.edu/~whsmith/xray.html. Enjoy! > > #P window setfont "Sans Serif" 9.; > #P window linecount 1; > #P comment 4 538 119 196617 http://danwinckler.com; > #P comment 4 523 119 196617 patch by dan winckler; > #P hidden newex 485 375 95 196617 prepend brightness; > #P hidden newex 272 27 60 196617 loadmess 1; > #P window linecount 3; > #P comment 232 394 100 196617 look in p jug for xrayjit.water > parameters; > #P window setfont "Helvetica Neue" 12.; > #P window linecount 1; > #P comment 392 198 15 306970636 4; > #P comment 393 147 15 306970636 3; > #P comment 372 100 100 306970636 2; > #P window setfont "Sans Serif" 9.; > #P window linecount 2; > #P comment 392 218 100 196617 draw in window with the mouse; > #P window linecount 3; > #P comment 392 323 124 196617 - set matrix to black: tab (causes > interesting inverted 'bloom' effect); > #P window linecount 1; > #P comment 392 247 100 196617 draw shape; > #P number 353 271 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0; > #P comment 392 272 100 196617 draw brightness; > #P hidden newex 626 257 44 196617 sel 111; > #P hidden newex 626 235 40 196617 key; > #P hidden toggle 626 278 15 0; > #P hidden newex 626 300 41 196617 sel 0 1; > #N vpatcher 728 349 1328 749; > #P window setfont "Sans Serif" 9.; > #P newex 264 42 84 196617 route brightness; > #P newex 457 176 21 196617 t 1; > #P newex 399 176 21 196617 t 1; > #P newex 428 202 65 196617 s pointsGate; > #P newex 428 176 21 196617 t 0; > #P newex 137 317 29 196617 gate; > #P newex 355 176 21 196617 t 0; > #P newex 338 127 51 196617 sel lineto; > #P newex 264 158 62 196617 prepend set; > #P inlet 264 23 15 0; > #P newex 172 95 49 196617 delay 10; > #P newex 156 171 40 196617 t b b i; > #P newex 172 70 44 196617 togedge; > #P newex 206 142 47 196617 pv lastY; > #P newex 156 142 47 196617 pv lastX; > #P newex 102 142 51 196617 pv firstY; > #P newex 50 142 51 196617 pv firstX; > #P newex 171 274 173 196617 pack paintoval 0 0 0 0 255 255 255; > #P toggle 172 47 15 0; > #P inlet 102 30 15 0; > #P inlet 50 30 15 0; > #P inlet 172 27 15 0; > #P outlet 137 343 15 0; > #P connect 2 0 6 0; > #P connect 12 0 6 0; > #P connect 3 0 7 0; > #P connect 12 0 7 0; > #P connect 16 0 17 0; > #P connect 21 0 17 0; > #P connect 17 0 0 0; > #P connect 10 1 8 0; > #P connect 2 0 8 0; > #P connect 8 0 11 0; > #P connect 5 0 17 1; > #P connect 11 0 17 1; > #P connect 11 1 5 0; > #P fasten 14 0 5 0 269 260 176 260; > #P connect 1 0 4 0; > #P connect 4 0 10 0; > #P connect 10 0 12 0; > #P connect 6 0 5 1; > #P connect 10 1 9 0; > #P connect 3 0 9 0; > #P connect 7 0 5 2; > #P connect 11 2 5 3; > #P connect 9 0 5 4; > #P connect 13 0 22 0; > #P connect 15 1 14 0; > #P connect 22 0 5 5; > #P connect 22 0 5 6; > #P connect 22 0 5 7; > #P connect 22 1 15 0; > #P connect 15 0 16 0; > #P connect 15 0 20 0; > #P connect 15 1 18 0; > #P connect 18 0 19 0; > #P connect 20 0 19 0; > #P connect 15 1 21 0; > #P pop; > #P hidden newobj 582 410 53 196617 p draw; > #P hidden message 638 411 295 196617 moveto 100 100 \, font 6 50 \, > write ooooooooooo\\\, ripples \, bang; > #P hidden button 570 315 15 0; > #P hidden newex 570 294 38 196617 sel 32; > #P hidden newex 570 272 40 196617 key; > #P hidden message 570 333 60 196617 clear \, bang; > #P hidden newex 713 375 79 196617 r pwindowClick; > #P hidden newex 647 375 63 196617 r pwindowY; > #P hidden newex 582 375 63 196617 r pwindowX; > #P hidden newex 570 453 31 196617 s lcd; > #N vpatcher 78 300 678 700; > #P window setfont "Sans Serif" 9.; > #P number 216 191 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; > #P newex 238 113 20 196617 t b; > #P newex 238 137 64 196617 random 480; > #P newex 128 83 51 196617 stripnote; > #P newex 227 270 85 196617 pack lineto i 240; > #P newex 128 235 53 196617 t b i b i; > #P newex 133 270 93 196617 pack moveto i 240; > #P newex 145 115 87 196617 zmap 0 127 0 10; > #P newex 145 140 27 196617 t b i; > #P newex 145 166 73 196617 pak pensize i i; > #P newex 57 298 31 196617 s lcd; > #P newex 128 216 99 196617 zmap 21 108 0 480; > #P newex 128 46 45 196617 notein a; > #P outlet 33 341 15 0; > #P inlet 57 78 15 0; > #P comment 257 192 100 196617 scale the notes across the matrix; > #P comment 320 48 100 196617 note: grab the free app Synthesia to > play some MIDI into here.; > #P connect 11 0 6 0; > #P connect 12 0 6 0; > #P connect 10 0 6 0; > #P connect 2 0 6 0; > #P connect 7 0 6 0; > #P connect 4 0 13 0; > #P connect 13 0 5 0; > #P connect 5 0 11 0; > #P connect 11 2 10 0; > #P connect 13 1 9 0; > #P connect 9 0 8 0; > #P connect 8 0 7 0; > #P connect 4 1 13 1; > #P connect 11 1 10 1; > #P connect 8 1 7 1; > #P connect 8 1 7 2; > #P connect 14 0 10 2; > #P connect 16 0 5 4; > #P connect 11 0 12 0; > #P connect 4 0 15 0; > #P connect 15 0 14 0; > #P connect 11 3 12 1; > #P connect 14 0 12 2; > #P pop; > #P newobj 374 392 126 196617 p midi-to-shapes example; > #B color 4; > #P objectname "matrix or gpu effect goes here[1]"; > #P comment 392 361 114 196617 - draw seekrit text: 'o'; > #P comment 392 309 100 196617 - clear lcd: spacebar; > #P user ubumenu 287 244 100 196617 0 1 1 0; > #X add paintoval; > #X add paintrect; > #X add lineto; > #X add linesegment; > #X add frameoval; > #X add framerect; > #X prefix_set 0 0 <none> 0; > #P newex 317 555 79 196617 s pwindowClick; > #P newex 248 555 63 196617 s pwindowY; > #P newex 183 555 63 196617 s pwindowX; > #P newex 183 526 121 196617 unpack 0 0 0 0 0 0 0 0 0; > #P newex 183 505 65 196617 route mouse; > #P window linecount 2; > #P comment 389 166 103 196617 start random rainfall - 'r'; > #P toggle 372 165 15 0; > #P window linecount 1; > #P newex 323 190 59 196617 pak var1 1; > #P toggle 373 122 15 0; > #P newex 303 147 80 196617 pak _POWER_ 1; > #P toggle 144 435 15 0; > #P newex 83 456 71 196617 pak floating 0; > #P newex 72 410 38 196617 sel 27; > #P newex 72 388 40 196617 key; > #P toggle 72 435 15 0; > #P newex 0 456 82 196617 pak fullscreen 0; > #P user jit.fpsgui 45 308 60 196617 0; > #N vpatcher 20 74 866 724; > #P origin 12 76; > #P inlet 123 -33 15 0; > #P outlet 86 730 15 0; > #P window setfont "Sans Serif" 9.; > #P newex 174 245 44 196617 sel 114; > #P newex 174 223 40 196617 key; > #P newex 115 394 29 196617 gate; > #P newex 78 394 29 196617 gate; > #P newex 6 339 65 196617 r pointsGate; > #P window setfont "Sans Serif" 10.; > #P comment 236 247 29 196618 tab; > #B frgb 178 180 167; > #P window setfont "Sans Serif" 9.; > #P newex 269 248 32 196617 sel 9; > #P newex 269 226 40 196617 key; > #P number 239 301 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; > #P newex 205 322 44 196617 qlim 35; > #P newex 144 666 129 196617 jit.matrix 1 char 720 480; > #P window setfont "Sans Serif" 10.; > #P comment 77 45 74 196618 <= POWER; > #B frgb 178 180 167; > #P toggle 58 44 15 0; > #P window setfont "Sans Serif" 9.; > #P user ubumenu 29 487 60 196617 0 1 1 0; > #X add pass; > #X add *; > #X add /; > #X add +; > #X add -; > #X add +m; > #X add -m; > #X add %; > #X add min; > #X add max; > #X add abs; > #X add avg; > #X add absdiff; > #X add wrap; > #X add fold; > #X add !pass; > #X add !/; > #X add !-; > #X add !%; > #X add &; > #X add |; > #X add ^; > #X add ~; > #X add >>; > #X add <<; > #X add &&; > #X add ||; > #X add !; > #X add >; > #X add <; > #X add >=; > #X add <=; > #X add ==; > #X add !=; > #X add >p; > #X add <p; > #X add >=p; > #X add <=p; > #X add ==p; > #X add !=p; > #X add sin; > #X add cos; > #X add tan; > #X add asin; > #X add acos; > #X add atan; > #X add atan2; > #X add sinh; > #X add cosh; > #X add tanh; > #X add asinh; > #X add acosh; > #X add atanh; > #X add exp; > #X add exp2; > #X add ln; > #X add log2; > #X add log10; > #X add hypot; > #X add pow; > #X add sqrt; > #X add ceil; > #X add floor; > #X add round; > #X add trunc; > #X add ignore; > #X prefix_set 0 0 <none> 0; > #P newex 54 508 72 196617 prepend op; > #P newex 144 557 107 196617 jit.op @op + @val 0.5; > #P newex 486 244 203 196617 jit.matrix 1 float32 720 480 @planemap 1; > #P objectname CONTROL[3]; > #P newex 123 -2 253 196617 route bang _POWER_ var1 var2 var3 var4 > _SWITCH_; > #P newex 86 199 47 196617 gate 2 1; > #P newex 86 65 41 196617 sel 1 0; > #P message 101 94 14 196617 1; > #P message 86 94 14 196617 2; > #P window setfont "Sans Serif" 10.; > #P comment 310 536 62 196618 wavespeed; > #B frgb 178 180 167; > #P comment 205 268 74 196618 <= let it rain; > #B frgb 178 180 167; > #P window setfont "Sans Serif" 9.; > #P newex 186 372 30 196617 t b b; > #P newex 114 368 63 196617 r pwindowY; > #P newex 47 368 63 196617 r pwindowX; > #P flonum 429 574 85 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; > #P newex 265 554 198 196617 jit.matrix x 1 float32 720 480 @interp 1; > #P button 265 535 15 0; > #P newex 265 574 148 196617 jit.expr @expr "norm[0]+0.1"; > #P toggle 174 268 15 0; > #P newex 186 351 29 196617 gate; > #P newex 186 439 77 196617 pack 0 0; > #P newex 253 395 64 196617 random 480; > #P newex 186 395 64 196617 random 720; > #P button 378 445 15 0; > #P newex 144 642 113 196617 jit.op @op >p @val 0.; > #P newex 526 466 75 196617 loadmess 0.03; > #P newex 449 466 75 196617 loadmess 0.25; > #P newex 378 466 63 196617 loadmess 1.; > #P message 515 506 61 196617 damping \$1; > #P message 449 506 64 196617 timestep \$1; > #P message 378 506 69 196617 spacestep \$1; > #P newex 144 620 85 196617 jit.matrix water; > #P message 186 459 112 196617 setcell \$1 \$2 val 0.5; > #P newex 144 601 114 196617 xray.jit.water @val 2.1; > #P message 239 485 44 196617 setall 1; > #P message 185 485 44 196617 setall 0; > #P newex 144 508 172 196617 jit.matrix water 1 float32 720 480; > #P newex 693 156 31 196617 r lcd; > #P message 501 157 33 196617 clear; > #P newex 486 133 40 196617 t b b b; > #P message 535 157 146 196617 brgb 0 0 0 \, frgb 255 255 255; > #P newex 486 109 48 196617 loadbang; > #P newex 486 198 111 196617 jit.lcd 4 char 720 480; > #P connect 42 1 41 0; > #P connect 51 0 52 0; > #P connect 38 1 36 0; > #P connect 43 0 36 0; > #P connect 36 0 34 0; > #P fasten 34 0 37 0 91 195 91 195; > #P fasten 35 0 37 0 106 195 91 195; > #P connect 45 0 56 0; > #P connect 37 0 56 0; > #P connect 29 0 52 1; > #P connect 36 1 35 0; > #P connect 51 0 53 0; > #P connect 57 0 38 0; > #P connect 38 0 37 1; > #P connect 30 0 53 1; > #P connect 37 1 6 0; > #P fasten 10 0 6 0 191 479 149 479; > #P fasten 7 0 6 0 190 504 149 504; > #P fasten 8 0 6 0 244 504 149 504; > #P connect 41 0 40 0; > #P connect 6 0 40 0; > #P connect 40 0 9 0; > #P fasten 14 0 9 0 520 528 149 528; > #P fasten 13 0 9 0 454 528 149 528; > #P fasten 12 0 9 0 383 536 149 536; > #P connect 9 0 11 0; > #P connect 11 0 18 0; > #P connect 18 0 45 0; > #P connect 54 0 55 0; > #P connect 55 0 24 0; > #P connect 49 0 7 0; > #P connect 38 2 23 0; > #P connect 38 6 23 0; > #P connect 24 0 23 0; > #P connect 23 0 31 0; > #P connect 31 0 20 0; > #P connect 52 0 22 0; > #P fasten 20 0 22 0 191 425 191 425; > #P connect 22 0 10 0; > #P connect 37 1 46 0; > #P connect 46 0 23 1; > #P connect 47 0 46 1; > #P connect 39 0 40 1; > #P fasten 28 0 9 1 434 595 253 595; > #P connect 25 0 9 1; > #P connect 38 3 9 1; > #P fasten 31 1 21 0 211 392 258 392; > #P connect 53 0 22 1; > #P fasten 21 0 22 1 258 425 258 425; > #P connect 26 0 27 0; > #P connect 27 0 25 0; > #P connect 48 0 49 0; > #P fasten 19 0 15 0 383 463 383 463; > #P connect 38 4 12 0; > #P connect 15 0 12 0; > #P fasten 19 0 16 0 383 463 454 463; > #P connect 38 5 13 0; > #P connect 16 0 13 0; > #P connect 1 0 3 0; > #P connect 2 0 0 0; > #P connect 3 0 0 0; > #P connect 4 0 0 0; > #P connect 5 0 0 0; > #P connect 0 0 39 0; > #P connect 3 1 4 0; > #P connect 17 0 14 0; > #P connect 19 0 17 0; > #P connect 3 2 2 0; > #P pop; > #P newobj 220 372 32 196617 p jug; > #P objectname "matrix or gpu effect goes here"; > #P newex 200 479 263 196617 jit.gl.videoplane pool @transform_reset > 2 @automatic 0; > #P newex 220 201 44 196617 qlim 35; > #P newex 200 178 30 196617 t b b; > #P toggle 45 69 15 0; > #P newex 45 95 51 196617 qmetro 2; > #P newex 45 133 58 196617 t b b erase; > #P newex 0 479 193 196617 jit.window pool @rect 100 100 820 580; > #P newex 45 286 86 196617 jit.gl.render pool; > #P comment 389 121 100 196617 run water simulator; > #P comment 392 294 100 196617 key commands:; > #P window setfont "Helvetica Neue" 12.; > #P comment 43 48 100 306970636 1; > #P connect 17 0 4 0; > #P connect 13 0 4 0; > #P connect 7 0 6 0; > #P connect 6 0 5 0; > #P connect 5 2 3 0; > #P connect 5 0 3 0; > #P connect 3 0 12 0; > #P connect 15 0 16 0; > #P connect 16 0 14 0; > #P connect 14 0 13 1; > #P connect 18 0 17 1; > #P connect 4 1 24 0; > #P connect 24 0 25 0; > #P connect 25 0 26 0; > #P fasten 5 1 8 0 74 164 205 164; > #P connect 11 0 10 0; > #P connect 8 0 10 0; > #P connect 8 1 9 0; > #P connect 9 0 11 0; > #P connect 19 0 11 0; > #P connect 21 0 11 0; > #P connect 25 1 27 0; > #P hidden connect 56 0 29 0; > #P connect 25 2 28 0; > #P connect 22 0 21 1; > #P connect 20 0 19 1; > #P hidden fasten 48 0 57 0 358 371 490 371; > #P hidden connect 38 0 39 0; > #P hidden connect 39 0 40 0; > #P hidden connect 43 0 37 0; > #P hidden connect 40 0 37 0; > #P hidden connect 41 0 33 0; > #P hidden connect 37 0 33 0; > #P hidden connect 42 0 33 0; > #P hidden fasten 34 0 42 0 587 401 587 401; > #P hidden fasten 35 0 42 1 652 401 601 401; > #P hidden fasten 36 0 42 2 718 401 615 401; > #P hidden connect 57 0 42 3; > #P hidden fasten 29 1 42 3 337 401 629 401; > #P hidden connect 45 0 46 0; > #P hidden connect 46 0 44 0; > #P hidden connect 44 0 43 0; > #P hidden connect 43 1 41 0; > #P window clipboard copycount 60; > > _______________________________________________ > jitter mailing list > jitter at cycling74.com > http://www.cycling74.com/mailman/listinfo/jitter Barry Threw Media Art and Technology San Francisco, CA Work: 857-544-3967 Email: bthrew at gmail.com IM: captogreadmore (AIM) http:/www.barrythrew.com
- Previous message: [jitter] [sharing-is-unsparing-caring] Pool party (xray.jit.water + jit.lcd)
- Next message: [jitter] [sharing-is-unsparing-caring] Pool party (xray.jit.water + jit.lcd)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
