water effect

This website demonstrates some great Java effects. There is one in particular I am curious about, a water effect. Any suggestions as to how this might have been done?

http://anfyteam.com/anj/water/anwater2.html

I don’t know where to begin. Does it involve repeatedly going into a BufferedImage with a raster and making new images for display by moving the pixels around? ???

Looks like the classic smooth/sharpen water effect.

http://freespace.virgin.net/hugo.elias/graphics/x_water.htm

Much aprreciated!

I did this one years ago but run a little too fast now and then water effect doesnt look so good running slower it will be, may be it can help

http://dzzd.net/SimpleParticle/

sources:

http://dzzd.net/SimpleParticle/sources.zip

Another appreciation for you DzzD, as well!

I still have a lot of questions, particularly along the lines of how to render the distortion, but I will hold off until I’ve had a chance to explore this code and the algorithm link further.

In case it’s of interest, here’s my version of this - http://code.google.com/p/praxis/source/browse/ripl/src/net/neilcsmith/ripl/components/temporal/Ripple.java

I used this a few years back for this project http://video.google.com/videoplay?docid=-1631892283027158552# - a webcam triggers the ripple effect, which in turn controls the manipulation of the audio.

Best wishes, Neil

Water effect can be really cool :P.

My version is too complicated for that it does.