Canvas Image is a javascript object for image transitions using a canvas.
Canvas Image uses Sole's tween.js for transitions.
The image transitions can not only be applied onto a canvas but also onto an img or any element that has it's background-image set.
The main function you want to use is the following:
CIMG.tween(target,image,[time],[transitionType],[easingMethod],[properties]);
| property | type | description | possible values | default |
|---|---|---|---|---|
| toDataURL | Boolean | |||
| exists | Boolean | ignore, append, replace | ||
| vertical | float | |||
| fade | float | t, l, b, r | ||
| rotation | float | |||
| direction | String | |||
| number | integer | |||
| character | String | |||
| font | String | |||
| callback | function |