Recalculate temporal parameters on each frame