code: function Animation(from, to, duration) {
    this._from = from;
    this._to = to;
    this._duration = duration;
    this._left = duration;
    this._start = Date.now();
    this._looping = false;
    this._finished = false;
  }
docs: base for all animations, e.g. position transitions, slerping etc.