Solved

Javascript water effect

Posted on 2014-04-07
6
1,531 Views
Last Modified: 2014-04-09
Hello,

I have a hobby project coming up and it involves lots of beautiful photos of sunsets and cityscapes with water in them.

I would love to gently make the water ripple as if you are standing there looking at the view.

I found this one but it is more rain drops and not a standard gentle waving.
http://code.almeros.com/code-examples/water-effect-canvas/#.U0NqGcdHggA

Imagine you are sitting on a dock looking out and you can see the trees in the back still as could be but the water has a movement to it... that is what I am looking for.

Thank you for any help.

Matt
0
Comment
Question by:movieprodw
  • 4
  • 2
6 Comments
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 total points
ID: 39984978
I just stumbled on this three.js for something else. A quick search and there is a wave http://threejs.org/examples/#canvas_particles_waves but looks like you have to do some work.   Another example using three.js http://stemkoski.github.io/Three.js/Shader-Animate.html

Another option is using a loop of water from b-roll or created animation.  There are plenty of stock photo/video for this type of thing http://www.motionelements.com/stock-video-2818894-wavy-water-effect-looping
0
 
LVL 1

Author Comment

by:movieprodw
ID: 39985849
I am looking for more of a ripple then a rain drop, it is hard to find I guess
0
 
LVL 1

Author Comment

by:movieprodw
ID: 39985854
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 52

Assisted Solution

by:Scott Fell, EE MVE
Scott Fell,  EE MVE earned 500 total points
ID: 39986750
That looks perfect.  Use that as your background.  Use the "Big Web" though, you will not need the HD.  Then run that full screen in the background.
0
 
LVL 1

Author Comment

by:movieprodw
ID: 39986762
Hello,

I got this effect by layering a png on top of the jquery script but I need the jquery script to be 100% height, currently it is only doing 50%

http://69.64.82.8/
0
 
LVL 1

Author Closing Comment

by:movieprodw
ID: 39989596
Thanks for trying
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

What is a Lightbox? A Lightbox is the effect you see when you click, for example, an image and the screen fades out and up pops the same image but in its full size dimensions. There are lots of Lightbox effects for jQuery. Problem is they are a…
There are a couple ways to attach a JavaScript function to dynamically created elements. You can make a new script for each element as it’s created or you can use delegation. Delegation allows a single script that is added at page creation to mat…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question