NewcastleFan Posted June 14, 2013 Share Posted June 14, 2013 I'm not sure if this is possible but im looking to get an object say a ball, and drop it into a pool of water at the bottom of of the page and for the water to splash upwards and freeze (like watching a video of it). Is this possible not using flash? This is for a web project on a browser so I'm not sure if it is possible using html5, css, jquery? If it is possible does anyone know of any examples that use or do this sort of thing it that I could look at? Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/279145-falling-animation-into-water/ Share on other sites More sharing options...
Irate Posted June 14, 2013 Share Posted June 14, 2013 Using OOP is a good start, and the jQuery framework for JavaScript provides the code to move an element with CSS. You can use the <canvas> tag to dynamically draw the animation into it with JavaScript. Quote Link to comment https://forums.phpfreaks.com/topic/279145-falling-animation-into-water/#findComment-1435920 Share on other sites More sharing options...
NewcastleFan Posted June 14, 2013 Author Share Posted June 14, 2013 Would this be possible to be 3d? forgot to mention that in the fist post. It would have to look real like a video not just like a static image falling into another static image. Quote Link to comment https://forums.phpfreaks.com/topic/279145-falling-animation-into-water/#findComment-1435922 Share on other sites More sharing options...
trq Posted June 14, 2013 Share Posted June 14, 2013 I don't see what OOP or jQuery have to do with the subject. Â Now, as for possible - yeah, but your going to need some skills and a bit of time. Â What libraries? three.js (http://threejs.org) is really the only thing around that is going to help you if your looking for 3d stuff. Quote Link to comment https://forums.phpfreaks.com/topic/279145-falling-animation-into-water/#findComment-1435924 Share on other sites More sharing options...
Irate Posted June 14, 2013 Share Posted June 14, 2013 Why do you not want to use Flash again? Flash would be easiest to do as far as I know. Quote Link to comment https://forums.phpfreaks.com/topic/279145-falling-animation-into-water/#findComment-1435925 Share on other sites More sharing options...
NewcastleFan Posted June 14, 2013 Author Share Posted June 14, 2013 Flash I've been told is a big no for SEO and website development. Quote Link to comment https://forums.phpfreaks.com/topic/279145-falling-animation-into-water/#findComment-1435927 Share on other sites More sharing options...
trq Posted June 14, 2013 Share Posted June 14, 2013 Flash I've been told is a big no for SEO and website development. That statement isn't exactly correct but anyway, you don't have to build the entire site in it. Quote Link to comment https://forums.phpfreaks.com/topic/279145-falling-animation-into-water/#findComment-1435928 Share on other sites More sharing options...
Solution NewcastleFan Posted June 14, 2013 Author Solution Share Posted June 14, 2013 Hmmm ok thanks for the help guys! i'll look into it some more and see how else I can get this working Quote Link to comment https://forums.phpfreaks.com/topic/279145-falling-animation-into-water/#findComment-1435930 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.