Elm playground: how to act at the beginning or end of an animation loop?

Hello Hans,

Great solution, many thanks!!