Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Water ripple effect on background of website

Tags:

A client has asked me to apply a similar water ripple effect to the background image (and only the background image) on their website.

Considering that this is using a canvas, it doesn't seem possible. Is anyone aware of an effect like this that I can apply to just the background image on a page?

like image 423
Jeffrey Ray Avatar asked Jul 16 '13 03:07

Jeffrey Ray


People also ask

What causes ripple effect in water?

Water molecules will encounter an object and move upwards against it, before being pulled back down by the neighboring molecules. This interaction causes a ripple to form that moves in the opposite direction of the water's initial motion.

What causes ripple effects?

A ripple effect occurs when an initial disturbance to a system propagates outward to disturb an increasingly larger portion of the system, like ripples expanding across the water when an object is dropped into it.

What is an example of the ripple effect?

Picture yourself on the shore of a lake or a pond, and you cast a stone into the water. You see it enter the water and disappear, leaving behind a bounty of ripples that seemingly spread out for miles.

What is ripple effect in design?

For UI components like buttons or links that users can interact with by click or touch, the ripple effect is one micro-interactions that can be used to provide feedback, helping users understand they just interacted with a component.


2 Answers

For a high performance, WebGL powered solution, take a look at this project:

jQuery WebGL Ripples

A demo is available here.

This technology is not available for everyone in every device yet, though.

like image 73
Gilberto Torrezan Avatar answered Sep 18 '22 14:09

Gilberto Torrezan


Have a look on these 2 demos, which i think you can get based to create yours.

29a.ch and mrdoob

Hope this helps

like image 28
Thanos Avatar answered Sep 18 '22 14:09

Thanos