So, I get an array of data points with timestamps from backend. The data is from navigation telemetry and I need a way to show them with a timeline, like on a video player. The problem is, the difference between each timestamp is not the same and I need a way to make it play back with the "normal" speed. I am currently trying to achieve this with setInterval, but I do not know how to calculate the value that would respect the normal time flow speed.
Sorry for my English, it is not my first language.