Forums > Jitter

trippy ass waterfall- sharing is fun!

August 23, 2007 | 2:17 am

i know it’s only a few steps away from the amazing throbbing torus,
but i’m having a good time with it. client says he wants audio
reactivity with an animation that looks like psychedelic water, i’m
going to try to give it to him!

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 352 244 50 196617 deferlow;
#P newex 352 219 48 196617 loadbang;
#N vpatcher 566 261 1223 850;
#P window setfont "Sans Serif" 9.;
#P window linecount 0;
#P newex 112 116 38 196617 sel 32;
#P newex 112 96 40 196617 key;
#P flonum 486 206 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 436 202 29 196617 * 3.;
#P newex 74 524 169 196617 jit.gl.texture bork @name noisedist;
#P inlet 529 57 15 0;
#P inlet 16 37 15 0;
#P window linecount 0;
#P newex 113 39 48 196617 loadbang;
#P window linecount 1;
#P message 196 108 396 196617 basis noise.distorted , setattr basis
noise.gradient , setattr basis noise.distorted , bang;
#P newex 70 493 68 196617 jit.normalize;
#P newex 25 180 111 196617 jit.op @op * @val 256;
#P newex 538 235 61 196617 slide 6. 10.;
#P newex 541 205 40 196617 / 400.;
#P newex 542 182 36 196617 – 250;
#N counter 2 0 500;
#X flags 0 0;
#P newobj 541 151 83 196617 counter 2 0 500;
#P number 3 402 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 3 421 65 196617 interpbits $1;
#P newex 25 205 114 196617 jit.op @op >p @val 200;
#P button 27 125 15 0;
#P newex 26 161 134 196617 jit.noise 4 float32 150 150;
#P flonum 282 255 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 239 303 64 196617 offset $1 0.;
#P newex 239 279 53 196617 / 700.;
#N counter;
#X flags 0 0;
#P newobj 239 231 66 196617 counter;
#P newex 436 177 55 196617 slide 1. 5.;
#P newex 436 152 54 196617 peakamp~;
#P flonum 256 409 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 104 198 30 196617 read;
#P newex 70 242 142 196617 jit.matrix 4 float32 150 150;
#P newex 173 433 111 196617 jit.op @op * @val 150;
#P newex 70 464 113 196617 jit.repos @interpbits 4;
#P newex 404 327 106 196617 prepend setattr basis;
#P flonum 491 267 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 455 267 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 404 295 101 196617 pack distortion 0. 0.;
#P newex 173 362 272 196617 jit.bfg 1 float32 150 150 @scale 2.25
2.25 @weight 1. 1.;
#P newex 13 71 416 196617 t b b b b b b b b b b b b b b b b b b b;
#P connect 21 0 20 0;
#P connect 30 0 0 0;
#P connect 17 0 26 0;
#P connect 26 0 19 0;
#P connect 18 0 17 0;
#P connect 29 0 18 0;
#P connect 36 0 18 0;
#P connect 19 0 8 0;
#P connect 0 3 8 0;
#P connect 20 0 6 0;
#P connect 8 0 6 0;
#P connect 6 0 27 0;
#P connect 27 0 32 0;
#P connect 35 0 36 0;
#P connect 15 0 1 0;
#P connect 0 12 1 0;
#P connect 5 0 1 0;
#P connect 28 0 1 0;
#P connect 1 0 7 0;
#P connect 7 0 6 1;
#P connect 29 0 28 0;
#P connect 0 13 13 0;
#P connect 13 0 14 0;
#P connect 14 0 15 0;
#P connect 10 0 7 1;
#P connect 16 0 14 1;
#P connect 0 14 2 0;
#P connect 2 0 5 0;
#P connect 0 15 11 0;
#P connect 31 0 11 0;
#P connect 11 0 12 0;
#P connect 12 0 33 0;
#P connect 3 0 2 1;
#P connect 34 0 33 1;
#P connect 33 0 3 0;
#P connect 25 0 4 0;
#P connect 4 0 2 2;
#P connect 24 0 25 0;
#P connect 0 18 22 0;
#P connect 23 0 24 0;
#P connect 22 0 23 0;
#P pop;
#P newobj 516 495 60 196617 p texturing;
#N vpatcher 475 341 1075 741;
#P window setfont "Sans Serif" 9.;
#P window linecount 0;
#P newex 50 80 68 196617 jit.normalize;
#P newex 84 200 199 196617 jit.op @op * @val 0.985 @out_name slidy;
#P newex 80 169 175 196617 jit.rota @offset_y -1 @boundmode 1;
#P window linecount 2;
#P newex 50 132 223 196617 jit.matrix slidy 1 float32 160 200
@usedstdim 1 @dstdimstart 0 200 @dstdimend 159 200;
#P window linecount 1;
#P newex 50 106 130 196617 jit.matrix 1 float32 160 1;
#P newex 50 50 97 196617 jit.catch~ @mode 2;
#P inlet 50 30 15 0;
#P outlet 343 202 15 0;
#P connect 1 0 2 0;
#P connect 2 0 7 0;
#P connect 7 0 3 0;
#P connect 3 0 4 0;
#P connect 4 0 5 0;
#P connect 5 0 6 0;
#P connect 4 0 0 0;
#P pop;
#P newobj 260 494 113 196617 p audio-to-1dimmatrix;
#P newex 93 619 53 196617 jit.pack 3;
#P newex 221 386 48 196617 loadbang;
#P newex 96 500 63 196617 jit.unpack 2;
#P newex 97 475 114 196617 jit.op @op – @val 0.5;
#P newex 220 410 151 196617 jit.gencoord 2 float32 160 200;
#P window linecount 2;
#P newex 251 730 231 196617 jit.gl.mesh bork @draw_mode line_strip
@automatic 0 @texture noisedist;
#P toggle 508 309 15 0;
#P flonum 557 342 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 515 383 35 196617 *~ 1.;
#P newex 515 343 31 196617 adc~;
#P message 375 135 70 196617 fullscreen $1;
#P toggle 375 115 15 0;
#P newex 375 92 38 196617 sel 27;
#P newex 375 70 40 196617 key;
#P number 91 41 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user jit.fpsgui 27 222 60 196617 0;
#P newex 28 345 416 196617 t b b b b b b b b b b b b b b b b b b b;
#P newex 33 309 40 196617 r stuff;
#P toggle 31 47 15 0;
#P newex 94 121 40 196617 s stuff;
#P window linecount 2;
#P newex 31 153 259 196617 jit.gl.render bork @erase_color 0. 0. 0.
1. @lens_angle 96 @position 0 -0.25 1.17 @rotate 61 -1 0 0;
#P window linecount 1;
#P newex 31 98 58 196617 t b b erase;
#P newex 31 73 57 196617 qmetro 33;
#P newex 375 156 207 196617 jit.window bork @floating 1 @depthbuffer 1;
#P newex 298 599 172 196617 jit.slide @slide_up 1 @slide_down 5;
#P window linecount 2;
#P comment 146 259 100 196617 press space to change colors.;
#P connect 26 0 1 0;
#P connect 1 0 25 2;
#P connect 17 0 26 0;
#P connect 17 0 27 1;
#P connect 18 0 17 1;
#P connect 9 17 27 0;
#P connect 16 0 17 0;
#P connect 16 1 17 0;
#P connect 19 0 16 0;
#P connect 29 0 7 0;
#P connect 29 0 19 0;
#P connect 15 0 2 0;
#P connect 14 0 15 0;
#P connect 13 0 14 0;
#P connect 12 0 13 0;
#P connect 28 0 29 0;
#P connect 21 0 22 0;
#P connect 21 0 20 1;
#P connect 9 9 26 0;
#P connect 25 0 20 0;
#P connect 9 1 20 0;
#P connect 24 0 21 0;
#P connect 23 1 25 1;
#P connect 9 4 22 0;
#P connect 22 0 23 0;
#P connect 4 1 6 0;
#P connect 23 0 25 0;
#P connect 11 0 3 1;
#P connect 4 0 5 0;
#P connect 4 2 5 0;
#P connect 3 0 4 0;
#P connect 7 0 3 0;
#P connect 8 0 9 0;
#P connect 5 0 10 0;
#P window clipboard copycount 30;


August 23, 2007 | 3:09 am

this is a MUCH better version:

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 476 411 61 196617 slide~ 1. 3.;
#P newex 352 244 50 196617 deferlow;
#P newex 352 219 48 196617 loadbang;
#N vpatcher 566 261 1223 850;
#P window setfont "Sans Serif" 9.;
#P window linecount 0;
#P newex 112 116 38 196617 sel 32;
#P newex 112 96 40 196617 key;
#P flonum 486 206 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 436 202 29 196617 * 3.;
#P newex 74 524 169 196617 jit.gl.texture bork @name noisedist;
#P inlet 529 57 15 0;
#P inlet 16 37 15 0;
#P window linecount 0;
#P newex 113 39 48 196617 loadbang;
#P window linecount 1;
#P message 196 108 396 196617 basis noise.distorted , setattr basis
noise.gradient , setattr basis noise.distorted , bang;
#P newex 70 493 68 196617 jit.normalize;
#P newex 25 180 111 196617 jit.op @op * @val 256;
#P newex 538 235 61 196617 slide 6. 10.;
#P newex 541 205 40 196617 / 200.;
#P newex 542 182 36 196617 – 250;
#N counter 2 0 500;
#X flags 0 0;
#P newobj 541 151 83 196617 counter 2 0 500;
#P number 3 402 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 3 421 65 196617 interpbits $1;
#P newex 19 212 114 196617 jit.op @op >p @val 200;
#P button 27 125 15 0;
#P newex 26 161 134 196617 jit.noise 4 float32 150 150;
#P flonum 282 255 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 239 303 61 196617 offset 0 $1;
#P newex 239 279 45 196617 / -200.;
#N counter;
#X flags 0 0;
#P newobj 239 231 66 196617 counter;
#P newex 436 177 55 196617 slide 1. 5.;
#P newex 436 152 54 196617 peakamp~;
#P flonum 256 409 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 70 242 142 196617 jit.matrix 4 float32 150 150;
#P newex 173 433 111 196617 jit.op @op * @val 150;
#P newex 70 464 113 196617 jit.repos @interpbits 4;
#P newex 404 327 106 196617 prepend setattr basis;
#P flonum 491 267 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 455 267 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 404 295 101 196617 pack distortion 0. 0.;
#P newex 173 362 272 196617 jit.bfg 1 float32 150 150 @scale 2.25
2.25 @weight 1. 1.;
#P newex 13 71 416 196617 t b b b b b b b b b b b b b b b b b b b;
#P connect 20 0 19 0;
#P connect 29 0 0 0;
#P connect 25 0 18 0;
#P connect 16 0 25 0;
#P connect 17 0 16 0;
#P connect 28 0 17 0;
#P connect 35 0 17 0;
#P connect 18 0 8 0;
#P connect 0 3 8 0;
#P connect 19 0 6 0;
#P connect 8 0 6 0;
#P connect 6 0 26 0;
#P connect 26 0 31 0;
#P connect 34 0 35 0;
#P connect 14 0 1 0;
#P connect 0 12 1 0;
#P connect 5 0 1 0;
#P connect 27 0 1 0;
#P connect 1 0 7 0;
#P connect 7 0 6 1;
#P connect 28 0 27 0;
#P connect 0 13 12 0;
#P connect 12 0 13 0;
#P connect 13 0 14 0;
#P connect 15 0 13 1;
#P connect 9 0 7 1;
#P connect 0 14 2 0;
#P connect 2 0 5 0;
#P connect 0 15 10 0;
#P connect 30 0 10 0;
#P connect 10 0 11 0;
#P connect 11 0 32 0;
#P connect 3 0 2 1;
#P connect 33 0 32 1;
#P connect 32 0 3 0;
#P connect 24 0 4 0;
#P connect 4 0 2 2;
#P connect 23 0 24 0;
#P connect 0 18 21 0;
#P connect 22 0 23 0;
#P connect 21 0 22 0;
#P pop;
#P newobj 516 495 60 196617 p texturing;
#N vpatcher 475 341 1075 741;
#P window setfont "Sans Serif" 9.;
#P window linecount 0;
#P newex 50 80 68 196617 jit.normalize;
#P newex 84 200 199 196617 jit.op @op * @val 0.985 @out_name slidy;
#P newex 80 169 175 196617 jit.rota @offset_y -1 @boundmode 1;
#P window linecount 2;
#P newex 50 132 223 196617 jit.matrix slidy 1 float32 160 200
@usedstdim 1 @dstdimstart 0 200 @dstdimend 159 200;
#P window linecount 1;
#P newex 50 106 130 196617 jit.matrix 1 float32 160 1;
#P newex 50 50 97 196617 jit.catch~ @mode 2;
#P inlet 50 30 15 0;
#P outlet 343 202 15 0;
#P connect 1 0 2 0;
#P connect 2 0 7 0;
#P connect 7 0 3 0;
#P connect 3 0 4 0;
#P connect 4 0 5 0;
#P connect 5 0 6 0;
#P connect 4 0 0 0;
#P pop;
#P newobj 260 494 113 196617 p audio-to-1dimmatrix;
#P newex 93 619 53 196617 jit.pack 3;
#P newex 221 386 48 196617 loadbang;
#P newex 96 500 63 196617 jit.unpack 2;
#P newex 97 475 114 196617 jit.op @op – @val 0.5;
#P newex 220 410 151 196617 jit.gencoord 2 float32 160 200;
#P newex 251 730 343 196617 jit.gl.mesh bork @draw_mode line_strip
@automatic 0 @texture noisedist;
#P toggle 508 309 15 0;
#P flonum 557 342 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 515 383 35 196617 *~ 1.;
#P newex 515 343 31 196617 adc~;
#P message 375 135 70 196617 fullscreen $1;
#P toggle 375 115 15 0;
#P newex 375 92 38 196617 sel 27;
#P newex 375 70 40 196617 key;
#P number 91 41 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user jit.fpsgui 27 222 60 196617 0;
#P newex 28 345 416 196617 t b b b b b b b b b b b b b b b b b b b;
#P newex 33 309 40 196617 r stuff;
#P toggle 31 47 15 0;
#P newex 94 121 40 196617 s stuff;
#P window linecount 2;
#P newex 31 153 259 196617 jit.gl.render bork @erase_color 0. 0. 0.
1. @lens_angle 96 @position 0 -0.25 1.17 @rotate 61 -1 0 0;
#P window linecount 1;
#P newex 31 98 58 196617 t b b erase;
#P newex 31 73 57 196617 qmetro 33;
#P newex 375 156 207 196617 jit.window bork @floating 1 @depthbuffer 1;
#P newex 298 599 172 196617 jit.slide @slide_up 1 @slide_down 5;
#P window linecount 2;
#P comment 146 259 100 196617 press space to change colors.;
#P connect 5 0 10 0;
#P connect 8 0 9 0;
#P connect 29 0 7 0;
#P connect 7 0 3 0;
#P connect 3 0 4 0;
#P connect 4 0 5 0;
#P connect 4 2 5 0;
#P connect 11 0 3 1;
#P connect 23 0 25 0;
#P connect 4 1 6 0;
#P connect 22 0 23 0;
#P connect 21 0 22 0;
#P connect 9 4 22 0;
#P connect 23 1 25 1;
#P connect 1 0 25 2;
#P connect 24 0 21 0;
#P connect 9 1 20 0;
#P connect 25 0 20 0;
#P connect 30 0 26 0;
#P connect 9 9 26 0;
#P connect 21 0 20 1;
#P connect 26 0 1 0;
#P connect 28 0 29 0;
#P connect 12 0 13 0;
#P connect 13 0 14 0;
#P connect 14 0 15 0;
#P connect 15 0 2 0;
#P fasten 17 0 30 0 489 408;
#P connect 29 0 19 0;
#P connect 19 0 16 0;
#P connect 16 0 17 0;
#P connect 16 1 17 0;
#P connect 9 17 27 0;
#P connect 18 0 17 1;
#P connect 30 0 27 1;
#P window clipboard copycount 31;


August 23, 2007 | 5:50 pm

Just in time for burning man! : )

Nice one, thanks for sharing.

-Joshua


August 23, 2007 | 6:02 pm

Joshua Kit Clayton skrev:
>
> Just in time for burning man! : )
>
> Nice one, thanks for sharing.
>
> -Joshua
Hehe, yeah, I really dig this too – although, was it supposed to have
some sort of texturing going on? On my system it’s just a grey wash
(which might have been the intended effect, dunno)

Andreas.


August 23, 2007 | 6:34 pm

I had tons of errors with it. I suspect relaunching max is in order,
but, too busy!

On Aug 23, 2007, at 2:02 PM, Andreas Wetterberg wrote:

> Joshua Kit Clayton skrev:
>>
>> Just in time for burning man! : )
>>
>> Nice one, thanks for sharing.
>>
>> -Joshua
> Hehe, yeah, I really dig this too – although, was it supposed to
> have some sort of texturing going on? On my system it’s just a grey
> wash (which might have been the intended effect, dunno)
>
> Andreas.

v a d e //

http://www.vade.info
abstrakt.vade.info


August 23, 2007 | 6:43 pm

On Aug 23, 2007, at 11:34 AM, vade wrote:

> I had tons of errors with it. I suspect relaunching max is in
> order, but, too busy!

There’s a few loadbangs that are necessary (including some in
subpatches). Try saving and re-opening.

-Joshua


August 23, 2007 | 6:49 pm

On Aug 23, 2007, at 11:02 AM, Andreas Wetterberg wrote:

>
> Hehe, yeah, I really dig this too – although, was it supposed to
> have some sort of texturing going on? On my system it’s just a grey
> wash (which might have been the intended effect, dunno)

Sounds like you’re on a machine without floating point texture
support (e.g. Intel GMA 950 or older ATI/NVidia cards). If you put
"jit.matrix 4 char 150 150" between the jit.normalize and
jit.gl.texture in the texture subpatch, in order to convert the
floating point gradient noise to char data before texture submission,
I believe it should work on your card.

-Joshua


August 23, 2007 | 7:33 pm

Joshua Kit Clayton skrev:
>
> On Aug 23, 2007, at 11:02 AM, Andreas Wetterberg wrote:
>> Hehe, yeah, I really dig this too – although, was it supposed to have
>> some sort of texturing going on? On my system it’s just a grey wash
>> (which might have been the intended effect, dunno)
> Sounds like you’re on a machine without floating point texture support
> (e.g. Intel GMA 950 or older ATI/NVidia cards).
Grr, you’re right, Joshua. Thanks… this has been an on-going problem
for me and my really high-end 8800GTS card… :-( I think I will gamble
a bit and see if the latest driver update fixes it… *fingers crossed!*
> If you put "jit.matrix 4 char 150 150" between the jit.normalize and
> jit.gl.texture in the texture subpatch, in order to convert the
> floating point gradient noise to char data before texture submission,
> I believe it should work on your card.
Well I’ll be damned… now it really *IS* trippy! Brilliant.

Joshua Goldberg, remember the "@fsaa 1" on the jit.gl.render… makes a
world of difference, at least it does here. No jaggies in sight. Heheh,
I did some fiddling around and put a volume envelope follower on the
[jit.op @op * @val 150] – oh lawd, that’s fun, too! Thanks for sharing!

Chairs,
Andreas


April 27, 2009 | 6:17 pm

This patcher (sent above @ 8/22/07 21:09) is causing the latest MAX Windows version to crash as soon as the Metro toggle is hit. Not sure if this is the right place to report this… I’m new to the forum.


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