Ripple effect in LCD

Chris's icon

Hi,

could anyone tell me if there is a more efficient way of making a ripple type effect in LCD than the one in the following code?

Thank you
Chris

Max Patch
Copy patch and select New From Clipboard in Max.

tatama suomo's icon

i don't know about "ripples" but from a glance at you patch i see
that you are constantly creating and deleting sprites, thats somewhat
against the idea of them.
you should build them in advance and then just draw and hide them at
various positions as needed.

t.

tatama suomo's icon
Chris's icon

thats great. thank you very much.

Chris

Roman Thilenius's icon

Quote: Chris Hipgrave wrote on Wed, 05 September 2007 15:39
----------------------------------------------------
> thats great. thank you very much.
>
> Chris
----------------------------------------------------

watch out, "clearsprites" in this example depends on the right to left order. ;)

Dan's icon

It may not have the aesthetic you're going for, but there are a
couple really nifty ripple patches in the examples folder.

examples/jitter-examples/other/pool.pat and pool-with-sound.pat
examples/jitter-examples/render/pool-3d-nurbs.pat

And there is xray.jit.water (see maxobjects.com). I used it for a
gig last night and it worked really well. :) I drew shapes into the
matrix with jit.lcd.

hth,
dan