add Transition.ts that is TypeScript source allows us to make timing-controlable transitional effects, using requestAnimationFrame() or old-school setTimeout().