Solved

Javascript water effect

Posted on 2014-04-07
6
1,437 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
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to dynamically set the form action using jQuery.
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)

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now