Simple, Flash-like Tweening for the JavaScript Canvas
JS3 is a fast and lightweight drawing and animation library for the JavaScript Canvas allowing you to easily do things like :
var c = new JS3Circle();
stage.addChild(c);
stage.tween(c, 2, {x:500});
Core Features
- Simple API for drawing basic primitives: Circles, Ellipses, Squares, Rectangles, Triangles, Lines & Arcs
- Support for displaying Images and Text
- Built-in Mouse interactions : Click, Drag, MouseOver, MouseOut, etc..
- Powerful yet simple Tween Engine modeled after the popular Tweenlite ActionScript library
- Lightweight footprint : The Entire Library Minified is only 16kb
Interactive Demo
Move the Shape and Target around and paste the generated code into your HTML document.