You are here

Wave Tank

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Rate this item!
AttachmentSize
sf-will-wavetank.scm5.61 KB

Generates an animation by taking the active layer and applying a tileable, looping pattern like you might see on the bottom of a swimming pool. You can control the size of the pattern, number of frames, and blend mode of the pattern. The resulting animation is created in a new image.

Wave Tank

How it works

The script first generates two layers with tileable solid noise, and sets the top layer to difference mode. This creates dark "bands" where the values of each layer cross. This result is normalized and has the curves filter applied to bring out the bands in white instead of black. This result is blended over the base layer (the one that was active when the script is called) with the chosen blend mode. This entire procedure is repeated for each frame, with slight offsets of the solid noise layers, so the bands are shifted slightly each time. The offsets are the size of the image divided by the number of frames, so that at the end, the solid noise layers are back where they started, and the entire animation loops seamlessly.

Update April 27th 2010

I have updated the script to now include the possibility of a displacement map instead of/in addition to the highlights.

GIMP Version: 
Scripting Engine: 

Comments

Wave Tank update available for GIMP 2.8.
download sf-will-wavetank_gimp-2.8.zip - http://gimpchat.com/download/file.php?id=9269
more info - http://gimpchat.com/viewtopic.php?f=9&t=7136#p90467
Many thanks to samj !

GIMP 2.8.4 Ubuntu
Plug-in crashed: "script-fu"
(/usr/lib/gimp/2.0/plug-ins/script-fu)

The dying plug-in may have messed up GIMP's internal state. You may want to save your images and restart GIMP to be on the safe side.

Calling error for 'Wave Tank':
Procedure 'script-fu-wavetank' returned no return values

I know this plugin was made a while ago, but can somebody make an updated version for GIMP 2.8?

I agree...we need a version for 2.8!!

Have you tried it in 2.8, and it has failed (please specify how, a "yes" is not enough), or are you going by the 2.6 in the version here?

Works exactly as described! Thanks! Lovely work, write more plugins, please!

Had to register to say thanks for this script, its a great way to create an animated water texture image sequence for a real-time graphics project I'm working on.

Thanks very much.

I really like this effect. Very well done.

i am only getting a single frame. what am i doing wrong

Subscribe to Comments for "Wave Tank"