I am doing an event-based simulation, that gets updated when each event happens. For simplicity’s sake, assume it’s a simple Poisson process that creates a random 100x100 matrix when each event happens. So we’ll have a series of matrices with the time they happened. Interpreting the matrices as grayscale images, the data would be a timestamped image sequence. How can I animate this sequence?
I have searched around, and the best idea I have found so far is to save the images with specific modification timestamps, and use the image2
demuxor from ffmpeg with ts_from_file 2
that uses the modification times as frame timestamps. But this is a rather clunky solution …