I dont have a codepen to show or reproduce what my large scale app does but I am using fabric.js to create animations on canvas and have multiple slides to convert it to a slideshow or video.
All i can share is a small snippet of where i call the functions at certain time i.e particular card.duration (which can take decimals as well). But the next function is called before the designated absolute duration. All I want to know if timeline accepts millisecs and makes gauranteed call at that particular time!
totalDuration = 0;
for (let i = 0; i < cardLinkedList.length; i++) {
const card = cardLinkedList[i];
timeline.call(
textAnimation,
[canvas, card, transition, logo],
totalDuration
);
totalDuration += card.duration;
}
timeline.play();