Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make a water effect on TImage or anything?

Tags:

OK, I just installed a Tortoise git in my PC. And I'm quiet amuse about the water effect from its about page.

enter image description here

try to move your mouse cursor on the turtle picture from tortoise GIT - About

its more like we are playing out finger on a water.

Does anyone know how to do make that kind of water effect in Delphi ?

like image 458
Galvion Avatar asked Apr 19 '12 18:04

Galvion


People also ask

How do you make water affect your photos?

To capture water's flow, you'll want a shutter speed of 1/2 a second or longer, depending on the light. The longer the shutter speed, the more silky the effect. You can even make the waves of the ocean look more like a low-lying mist.


1 Answers

See Leonel Togniolli's "Water Effects" at efg's lab.

enter image description here

The ripple effect is based on 2D Water Effects in December 1999 Game Developer Magazine Article .

The algorithm is described in here 2D Water, as mentioned by François and as a reference in the source code.

Leonel's implementation is partly based on the gamedev article the-water-effect-explained by Roy Willemse. Here is also pascal code.

There is one more Delphi example at efg's called "Ripple Project", a screen shot is shown below.

enter image description here

like image 54
LU RD Avatar answered Oct 25 '22 08:10

LU RD