Ergodic exploration of dynamic distribution