Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to animate section of photo with ripple effect
#2
There will be a few ways for that effect.  I used the ripple filter but use waves if it works, just experiment.

Maybe something like this.

Check that the image has transparency Layer -> Transparency -> Add Alpha Channel
Make a selection of the area for the effect - rectangular select tool. Give it a feather for a bit of blending into the background - Select -> Feather  I used 50, depends on the size of the image.
Apply the filter. This the ripple filter settings I used.  (waves already has clamp enabled - but check. It is for transparency) https://i.imgur.com/e94Muy3.jpg

Now for some semi-automation.
Duplicate the later, then Filter -> Repeat (filter) https://i.imgur.com/6USeHuy.jpg

Repeat that sequence, Duplicate layer / Repeat filter as many times needed for the animation. Does not have to be many six or seven maybe.

Now you can turn off the selection Select -> None

Check it is what you want, Filters -> Animation -> Playback Then optimize it Filters -> Animation -> Optimize for GIF  https://i.imgur.com/E5hEhMT.jpg

That gives a new image to export. Use settings with Frame Disposal -> Cumulative Layers https://i.imgur.com/OiW0qfU.jpg

Gives me an animation like this: https://i.imgur.com/4itVGYd.gif

---------------------------------
Hmm... Waves might be a little more difficult Wink It is a GEGL thing.

Set up the same with a feathered selection, but duplicate the basic undeformed image say 6 times.

Start off either end of the layers, top is easiest. Set up the waves to suit, maybe like this with a phase shift of -1 (range is -1 to +1) https://i.imgur.com/bqvp4IR.jpg

Move down a layer. No good repeating this one, just remains the same, so Filters -> ReShow Last brings up the Waves dialogue again.

Gimp keeps the last settings so choose that in presets then increase the phase shift to suit and OK it. Just keep repeating that sequence, down a layer, Waves dialogue, use last settings, adjust settings, OK. Eventually you get to the last layer: https://i.imgur.com/17NI8OE.jpg

All layers visible again, same procedure for the gif export. looks like this: https://i.imgur.com/o5oatgj.gif

I think there might be an old animation script for this, somebody might know. Unlikely to work with Gimp 2.10
Reply


Messages In This Thread
RE: How to animate section of photo with ripple effect - by rich2005 - 05-07-2019, 08:02 AM

Forum Jump: