This flipbook as retime would publish it: the frames it keeps, in order, each for its scaled duration. A kept index beyond the frames fails with an IllegalArgumentException naming it.