Description

Create a temporal animation. See to()

Usage

Constructor

  • el {Element}

Example

var timeline = canvas.Timeline.new(el);
timeline.to({x: 100}, 70,  Ease.easeOutElastic).call();

Methods

to

The properties of the elements will change over a predefined period

wait

Wait a number of frames before you start the next animation

getLastKey

Retrieve the properties of the last key

add

Adds values to the properties of a period.

addProprety

Adds properties to changes

loop

Run continuously timeline

call

Run timeline

Discussion