How would someone go about writing javascript animations that are very customized, similar to the ones here: https://fiber.google.com/about/
How would someone go about writing javascript animations that are very customized, similar to
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Well, that particular site (the rabbit animation at least) uses
Swiffy.js. Swiffy converts ActionScript/Flash to HTML/JSON and then renders it using mainly SVG, effectively allowing developers to write flash animations and not have to worry about clients having the flash plugin. Which is good, since as of 2011 flash seems to be taking a bit of a decline. This is due mostly to the fact that Apple is focusing on HTML5 rather than flash, so iDevices will never be able to view flash. Because of that, web developers are hesitant to embed flash, as they’ll have to provide a second option for mobile viewers.So, in this case, your answer is “Learn Flash, then learn Swiffy, then realize that the whole thing could have been done more easily with another JS library”.