Trying to get advancing frame functional with smooth transitions between frames