function from(start) {
let _start=start;
function to(end,tween,action) {
const curtime = (THREE.Math.clamp(time,this._start,end) - this._start) / (end-this._start);
if (curtime>0 || start==this._start && time<=start) action(tween(curtime));
this._start=end;
return this;
}
return {to,_start}
}