Forums > Jitter

Re: sharing is fun (but wway overrated)] – springy zdepth

January 27, 2008 | 11:30 pm

very nice, springy indeed!
redball.mov makes it snaky!

here’s grabless version:

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 249 265 138 196617 < < lower dim = happier cpu;
#P newex 143 208 70 196617 jit.rgb2luma;
#P objectname jit.gl.slab[1];
#P comment 341 239 138 196617 < < lower dim = happier cpu;
#P newex 143 135 28 196617 sel 1;
#P newex 143 235 224 196617 jit.matrix 1 char 100 100 @adapt 0
@interp 1;
#P button 108 157 15 0;
#P newex 107 174 28 196617 s init;
#P objectname receive[5];
#P number 245 29 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname number;
#N vpatcher 530 245 864 465;
#P origin 49 -4;
#P window setfont "Sans Serif" 9.;
#P window linecount 0;
#P newex 18 105 27 196617 !- 1;
#P window linecount 2;
#P message 18 125 68 196617 ; jitter cursor $1;
#P window linecount 1;
#P message 71 86 62 196617 fullscreen $1;
#P newex 147 55 54 196617 delay 5000;
#P newex 147 29 45 196617 loadbang;
#P newex 110 111 168 196617 sel 0 1;
#P message 110 132 152 196617 size 320 240 , pos 10 463 , border 1;
#P message 153 152 160 196617 border 0 , size 1024 778 , pos 1024 0;
#P toggle 71 66 15 0;
#P newex 70 44 35 196617 sel 27;
#P newex 70 21 40 196617 key;
#P outlet 71 185 15 0;
#P connect 11 0 10 0;
#P fasten 1 0 2 0 75 42 75 42;
#P connect 2 0 3 0;
#P connect 3 0 9 0;
#P fasten 5 0 0 0 115 166 76 166;
#P fasten 4 0 0 0 158 175 76 175;
#P connect 9 0 0 0;
#P fasten 6 0 5 0 115 131 115 131;
#P connect 7 0 8 0;
#P connect 6 1 4 0;
#P pop;
#P newobj 178 107 25 196617 p fs;
#P newex 178 129 271 196617 jit.window rott @size 320 240 @floating 1
@pos 10 450;
#P objectname jit.window;
#P newex 205 107 276 196617 jit.gl.render rott @camera 0 0 3
@erase_color 0. 0. 0. 1.;
#P objectname jit.gl.render;
#P toggle 205 29 20 0;
#P objectname toggle;
#P newex 205 52 64 196617 qmetro 20;
#P newex 205 74 58 196617 t b b erase;
#N vpatcher 15 55 469 512;
#P origin 0 9;
#P window setfont "Sans Serif" 9.;
#P window linecount 0;
#P comment 319 111 86 196617 short attention diff;
#N vpatcher 271 220 568 417;
#P origin 0 61;
#P window setfont "Sans Serif" 9.;
#P flonum 171 37 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 171 59 73 196617 slide_down $1;
#P flonum 108 37 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 108 59 60 196617 slide_up $1;
#P newex 50 115 167 196617 jit.slide @slide_up 3. @slide_down 30.;
#P newex 50 136 109 196617 jit.matrix 1 char 200 200;
#P newex 50 91 120 196617 jit.matrix 1 float32 200 200;
#P inlet 50 56 17 0;
#P outlet 50 160 15 0;
#P connect 1 0 2 0;
#P connect 7 0 4 0;
#P connect 5 0 4 0;
#P connect 2 0 4 0;
#P connect 4 0 3 0;
#P connect 3 0 0 0;
#P connect 6 0 5 0;
#P connect 8 0 7 0;
#P pop;
#P newobj 246 110 69 196617 p dynamicDiff;
#N vpatcher 549 329 840 596;
#P window setfont "Sans Serif" 9.;
#P newex 163 41 45 196617 loadbang;
#P objectname receive[4];
#P newex 133 65 29 196617 r intit;
#P objectname jit.matrix[8];
#P newex 163 65 54 196617 delay 5000;
#P objectname jit.matrix[7];
#P button 117 67 15 0;
#P newex 51 88 48 196617 pipe 4500;
#P objectname jit.matrix[6];
#P newex 51 129 42 196617 gate 1 1;
#P objectname jit.matrix[5];
#P newex 51 65 65 196617 t 0 1;
#P objectname jit.matrix[4];
#P newex 50 176 162 196617 jit.slide @slide_up 3. @slide_down 3.;
#P newex 106 88 48 196617 pipe 1500;
#P objectname jit.matrix;
#P newex 50 197 109 196617 jit.matrix 1 char 200 200;
#P newex 50 152 120 196617 jit.matrix 1 float32 200 200;
#P inlet 83 33 15 0;
#P outlet 50 221 15 0;
#P connect 7 0 2 0;
#P connect 2 0 5 0;
#P connect 5 0 3 0;
#P connect 3 0 0 0;
#P fasten 9 0 6 0 122 63 56 63;
#P connect 6 0 8 0;
#P connect 8 0 7 0;
#P fasten 4 0 7 0 111 122 56 122;
#P connect 1 0 7 1;
#P connect 6 1 4 0;
#P connect 10 0 9 0;
#P connect 11 0 9 0;
#P connect 12 0 10 0;
#P pop;
#P newobj 246 132 56 196617 p staticDiff;
#P number 148 211 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 50 209 96 196617 jit.op @op > @val 20;
#P objectname jit.gl.slab[4];
#P newex 50 85 188 196617 t l l l l;
#N vpatcher 138 440 507 597;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 134 103 56 196617 loadmess 1;
#N vpreset 2;
#P preset 81 103 47 27;
#P number 164 42 35 9 0 4 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 164 61 45 196617 mode $1;
#P number 211 42 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 211 60 48 196617 range $1;
#P flonum 12 38 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 68 38 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 68 61 41 196617 ring $1;
#P message 12 61 52 196617 center $1;
#P flonum 112 38 47 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 112 61 49 196617 ripple $1;
#P window linecount 6;
#P comment 262 40 74 196617 0 = row ; 1 = column ; 2 = cross ; 3 =
diagonal ; 4 = square ;;
#P outlet 12 83 15 0;
#P connect 7 0 4 0;
#P fasten 8 0 0 0 216 80 17 80;
#P fasten 5 0 0 0 73 80 17 80;
#P fasten 10 0 0 0 169 80 17 80;
#P connect 4 0 0 0;
#P connect 6 0 5 0;
#P connect 13 0 12 0;
#P connect 3 0 2 0;
#P connect 11 0 10 0;
#P connect 9 0 8 0;
#P pop;
#P newobj 103 183 42 196617 p param;
#P newex 50 183 50 196617 jit.fastblur;
#P number 137 143 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 50 161 96 196617 jit.op @op > @val 30;
#P objectname jit.gl.slab[6];
#P newex 50 139 83 196617 jit.op @op absdiff;
#P objectname jit.gl.slab[5];
#P comment 304 133 49 196617 static diff;
#P inlet 50 37 15 0;
#P outlet 50 233 15 0;
#P outlet 227 109 15 0;
#P window linecount 1;
#N vpatcher 493 104 869 555;
#P origin 0 61;
#P toggle 116 229 15 0;
#P window setfont "Sans Serif" 9.;
#P newex 116 245 29 196617 gate;
#P message 203 121 57 196617 3000. 3000.;
#P message 165 121 37 196617 15. 15.;
#P message 165 143 122 196617 slide_up $1 , slide_down $2;
#P newex 213 56 26 196617 r init;
#P newex 261 121 71 196617 print readyDIff;
#P newex 203 88 54 196617 delay 3000;
#P newex 165 56 45 196617 loadbang;
#P user jit.pwindow 116 267 202 202 0 1 0 0 1 0;
#N vpatcher 15 55 239 193;
#P window setfont "Sans Serif" 9.;
#P flonum 113 50 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 113 67 73 196617 slide_down $1;
#P flonum 50 50 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 50 67 60 196617 slide_up $1;
#P outlet 50 89 15 0;
#P connect 2 0 1 0;
#P connect 1 0 0 0;
#P connect 3 0 0 0;
#P connect 4 0 3 0;
#P pop;
#P newobj 267 162 42 196617 p param;
#P newex 146 186 192 196617 jit.slide @slide_up 1500. @slide_down 1500.;
#P newex 146 207 109 196617 jit.matrix 1 char 100 100;
#P newex 146 162 120 196617 jit.matrix 1 float32 100 100;
#P inlet 146 35 17 0;
#P outlet 146 231 15 0;
#P connect 15 0 14 0;
#P connect 14 0 6 0;
#P fasten 3 0 14 1 151 229 140 229;
#P connect 1 0 2 0;
#P connect 2 0 4 0;
#P connect 11 0 4 0;
#P fasten 5 0 4 0 272 183 151 183;
#P connect 4 0 3 0;
#P connect 3 0 0 0;
#P connect 10 0 7 0;
#P connect 7 0 12 0;
#P fasten 13 0 11 0 208 140 170 140;
#P connect 12 0 11 0;
#P fasten 7 0 8 0 170 76 208 76;
#P connect 8 0 13 0;
#P fasten 8 0 9 0 208 114 266 114;
#P pop;
#P newobj 109 110 81 196617 p dynamicDiffUp;
#P connect 3 0 10 0;
#P connect 10 0 5 0;
#P connect 5 0 6 0;
#P connect 9 0 8 0;
#P connect 6 0 8 0;
#P connect 8 0 11 0;
#P connect 11 0 2 0;
#P fasten 10 1 0 0 114 109 114 109;
#P fasten 0 0 5 1 114 131 128 131;
#P connect 7 0 6 1;
#P connect 12 0 11 1;
#P connect 10 3 1 0;
#P pop;
#P newobj 143 261 100 196617 p backgroundDiff;
#P message 143 157 30 196617 read;
#P newex 143 185 63 196617 jit.qt.movie;
#N vpatcher 516 181 981 591;
#P origin 0 -30;
#P window setfont "Sans Serif" 9.;
#P flonum 348 242 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P message 348 259 73 196617 slide_down $1;
#P flonum 285 242 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 285 259 60 196617 slide_up $1;
#P message 72 120 14 196617 2;
#B color 5;
#P message 59 120 14 196617 1;
#B color 5;
#P newex 59 140 63 196617 switch 2 1;
#N vpatcher 35 85 299 307;
#P window setfont "Sans Serif" 9.;
#P newex 63 102 96 196617 pak map 0 255 0 255;
#P newex 50 128 41 196617 jit.map;
#P newex 81 81 53 196617 jit.3m;
#P newex 50 50 85 196617 xray.jit.distance;
#B color 5;
#P inlet 50 30 15 0;
#P outlet 50 154 15 0;
#P connect 1 0 2 0;
#P connect 2 0 4 0;
#P fasten 5 0 4 0 68 124 55 124;
#P connect 4 0 0 0;
#P fasten 2 0 3 0 55 77 86 77;
#P connect 3 2 5 2;
#P pop;
#P newobj 85 119 97 196617 p xray.distancePatch;
#P newex 185 255 97 196617 jit.matrix displacment;
#P newex 185 277 172 196617 jit.slide @slide_up 35. @slide_down 10.;
#P newex 27 302 168 196617 jit.op @op -;
#N vpatcher 13 376 518 687;
#P origin 0 -8;
#P window setfont "Sans Serif" 9.;
#P message 84 37 14 196617 4;
#P message 71 37 14 196617 3;
#P message 57 37 14 196617 2;
#P message 42 37 14 196617 1;
#P message 28 37 14 196617 0;
#P message 13 37 16 196617 -1;
#B color 4;
#P user jit.fpsgui 136 44 60 196617 3;
#P message 13 55 43 196617 plane $1;
#P user jit.cellblock 6 76 423 283 139 9 100 100 44 17 0 1 1 0 0 0 1
1 1 0 0 0 255 255 255 0 0 0 0 0 0 191 191 191 0 0 0 215 215 240 1 1 1
0 2 0 0 0;
#P inlet 6 19 15 0;
#N vpatcher 45 100 378 286;
#P inlet 130 41 15 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 130 147 34 196617 set $1;
#P newex 130 124 27 196617 * 22;
#P newex 129 81 77 196617 route planecount;
#P newex 129 102 40 196617 change;
#P newex 130 60 60 196617 jit.matrixinfo;
#P window linecount 0;
#P message 50 72 18 196617 44;
#P message 50 93 54 196617 colwidth $1;
#P inlet 50 49 15 0;
#P outlet 50 115 15 0;
#P connect 8 0 3 0;
#P connect 1 0 3 0;
#P connect 3 0 2 0;
#P connect 2 0 0 0;
#P connect 4 0 6 0;
#P connect 6 0 5 0;
#P connect 9 0 4 0;
#P connect 5 0 7 0;
#P connect 7 0 8 0;
#P pop;
#P hidden newobj 57 53 49 196617 p colwidth;
#P connect 1 0 2 0;
#P hidden fasten 0 0 2 0 62 74 11 74;
#P hidden fasten 3 0 2 0 18 74 11 74;
#P hidden connect 8 0 3 0;
#P hidden connect 6 0 3 0;
#P hidden connect 9 0 3 0;
#P hidden connect 7 0 3 0;
#P hidden connect 5 0 3 0;
#P fasten 10 0 3 0 24 54;
#P hidden connect 9 0 0 0;
#P hidden connect 8 0 0 0;
#P hidden connect 7 0 0 0;
#P hidden connect 6 0 0 0;
#P hidden connect 5 0 0 0;
#P hidden fasten 1 0 0 1 101 34;
#P fasten 1 0 4 0 11 35 141 35;
#P pop;
#P newobj 176 339 52 196617 p cellblock;
#P newex 27 330 97 196617 jit.matrix displacment;
#P message 36 179 54 196617 clear , bang;
#P newex 27 86 82 196617 t b l;
#P newex 59 220 277 196617 jit.matrix newDisplacment 2 float32 100
100 @adapt 0 @interp 1;
#P newex 27 276 58 196617 jit.op @op +;
#P newex 59 246 103 196617 jit.op @op * @val 0.05;
#P newex 27 198 259 196617 jit.matrix displacment 2 float32 100 100
@adapt 0 @interp 1;
#P inlet 27 66 15 0;
#P outlet 27 354 15 0;
#P window linecount 2;
#P comment 190 119 132 196617 gives nicer depth map instead of plain
old onoff luma;
#P connect 2 0 7 0;
#P connect 7 0 3 0;
#P fasten 8 0 3 0 41 196 32 196;
#P connect 3 0 5 0;
#P connect 5 0 11 0;
#P connect 11 0 9 0;
#P connect 9 0 1 0;
#P connect 16 0 15 0;
#P connect 17 0 15 0;
#P connect 15 0 6 0;
#P connect 6 0 4 0;
#P fasten 4 0 5 1 64 269 80 269;
#P connect 7 1 14 0;
#P fasten 14 0 15 1 90 136 90 136;
#P connect 7 1 15 2;
#P fasten 7 0 13 0 32 167 190 167;
#P connect 20 0 12 0;
#P connect 18 0 12 0;
#P connect 13 0 12 0;
#P fasten 12 0 11 1 190 299 190 299;
#P connect 19 0 18 0;
#P connect 21 0 20 0;
#P pop;
#P newobj 143 285 67 196617 p accumLuma;
#B color 5;
#P newex 264 361 99 196617 prepend draw_mode;
#P user ubumenu 265 338 68 196617 0 1 1 0;
#X add points;
#X add lines;
#X add line_strip;
#X add line_loop;
#X add triangles;
#X add tri_strip;
#X add tri_fan;
#X add quads;
#X add quad_strip;
#X add polygon;
#X add tri_grid;
#X prefix_set 0 0 0;
#X pattrmode 1;
#P message 230 361 29 196617 reset;
#P newex 157 360 91 196617 jit.gl.handle rott;
#P newex 107 385 374 196617 jit.gl.mesh rott @draw_mode points
@point_size 2 @rotate 71. -0.9 -0.32 -0.2;
#P newex 107 360 60 196617 jit.pack 3;
#P newex 107 338 64 196617 jit.unpack 3;
#P newex 107 313 316 196617 jit.gl.gridshape rott @shape plane @dim
100 100 @matrixoutput 1;
#P window linecount 2;
#P comment 36 164 84 196617 re intitlaize the backgound >>;
#P comment 369 187 105 196617 < < change to qt.grab if your mac;
#P fasten 24 0 22 0 148 155 113 155;
#P connect 24 0 12 0;
#P connect 11 0 26 0;
#P fasten 14 1 11 0 234 181 148 181;
#P fasten 12 0 11 0 148 185 148 185;
#P fasten 8 1 9 0 299 357 269 357;
#P fasten 7 0 6 0 155 361;
#P connect 10 0 4 2;
#P connect 13 0 10 0;
#P connect 3 1 4 1;
#P fasten 6 0 5 0 162 382 112 382;
#P connect 4 0 5 0;
#P fasten 9 0 5 0 269 381 112 381;
#P connect 3 0 4 0;
#P connect 2 0 3 0;
#P connect 20 0 15 1;
#P connect 14 0 17 0;
#P fasten 14 2 17 0 258 101 210 101;
#P fasten 15 0 14 0 210 72 210 72;
#P connect 19 0 18 0;
#P connect 22 0 21 0;
#P connect 16 0 15 0;
#P fasten 16 0 24 0 210 50 148 50;
#P connect 23 0 13 0;
#P connect 26 0 23 0;
#P window clipboard copycount 28;


January 28, 2008 | 8:57 am

cool! reminds me of the film ‘tremors’

oli


Viewing 2 posts - 1 through 2 (of 2 total)