|
Home
Start reading from this page
Featured IntroductioniAnime.js is a light-weight Javascript-based animation engine that enables a wide-range of action-oriented, fully-animated web applications, which used to require Flash. While the authoer (Satoshi Nakajima) maintains the copyright of this library, it is freely avaialbe to both commercial and non-commercial developers and web-designers under MIT license. Design PrincipleThe key design principle of iAnime.js is its efficiency. It has to be smal and fast enough so that even action games for non-PC devices, such as Apple iPhone or Nintendo Wii, became practical. ArchitectureEach release of iAnime.js consists of three Javascript files.
If you interested in using just the core functionality of iAnime.js, you need to include only iAnime.js. Although iAnime.js does not come with any effects (such as fade-in), it allows advanced Javascript developers to add custom effects by providing some callback functions. In order to simplify the development, iAnime.js comes with a standard set of extensions, which enhances the capability of iAnime.js, offering variety of standard effects, such as fade-in, fade-out, ease-in, ease-out, bounce, elapse, jump and style. Some effects (such as fade-in) requires the runtime detection of the browser type, which requires another Javascript library iBrowse.js. In other word, if you are a hard-core developer and want to take advantage of the core feature of the animation engine, import just iAnime.js. Otherwise, import all three, and use one of pre-defined effects. API ReferenceSample codeLinks |