Animated water effect?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
defied

Animated water effect?

Post by defied »

Image

Is it possible to create something like this with imagemagick?
Probably use vanishing point, but what about the animation, the water?

http://www.fotline.net/
this website is offering an online service where you upload your picture and it transforms it.

Thank you
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Animated water effect?

Post by anthony »

It is posible, but needs to be worked out.

I would generate a wave of intensities, probably using -fx. then add perspective to that using -distort (very latest IM) and use the result as a displacement map for a 'flipped' image.

That is what I would try for a first attempt, but I have not done so.
At the moment I am too busy improving the distort image warping function
especially for perspectives involving an horizon.

This will probably be read in a few weeks.

If you do try something report it,here. success or failure.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
defied

Re: Animated water effect?

Post by defied »

Thanks for the info Anthony.

After spending some more time looking around on the internet, I found a php class which produces this effect with the GD module.
The class can be downloaded here: http://gifs.hu/phpclasses/show.php?page=20 (Called FXLake)

I'm planning to go through that class and see how the programmer did it, then try to port it so it works with imagemagick.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Animated water effect?

Post by anthony »

Great -- please let us know what it does!
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply