background preloader

BonsaiJS - A Graphics Library

BonsaiJS - A Graphics Library

Retina.js | Retina graphics for your website How it works When your users load a page, retina.js checks each image on the page to see if there is a high-resolution version of that image on your server. If a high-resolution variant exists, the script will swap in that image in-place. The script assumes you use Apple's prescribed high-resolution modifier (@2x) to denote high-resolution image variants on your server. For example, if you have an image on your page that looks like this: <img src="/images/my_image.png" /> The script will check your server to see if an alternative image exists at this path: "/images/my_image@2x.png" How to use JavaScript The JavaScript helper script automatically replaces images on your page with high-resolution variants (if they exist). Place the retina.js file on your server Include the script on your page <script type="text/javascript" src="/scripts/retina.js"></script> (put it at the bottom of your template, before your closing </body> tag) That's it! Steps: Download Download zip Download source Contribute

Textillate.js textillate.js A simple plugin for CSS3 text animations. Download on Github About Textillate.js combines some awesome libraries to provide a ease-to-use plugin for applying CSS3 animations to any text. Usage Simply include textillate.js and it's dependencies in your project to start creating unqiue effects. Credits Textillate.js is built on top of the simple, yet amazingly powerful animate.css and lettering.js libraries. Playground Grumpy wizards make toxic brew for the evil Queen and Jack. Dependencies Textillate.js depends on the following libraries: jQuery animate.css, by Daniel Eden lettering.js, by Dave Rupert

melonJS - Homepage Online JavaScript beautifier LimeJS HTML5 Game Framework

Related: