Let $f:[0,T] \to \mathbb{R}^n$ be a continuous function, I have the intuition that the following set is compact: $$ A:=\bigcup_{t\in [0,T]}\overline{B}(f(t),1) $$ with $\overline{B}(f(t),1)$ is the closed ball of center $f(t)$ and raduis $1$. But, I do not know how to prove it.
My idea: is that since we are in finite dimension, then, it sufficies to prove that is closed and bounded. It is obvious that it is closed (as the union of closed sets). But I am struggling with the compactness. I think of the following argument $$ A\subset \overline{B}(0, 2M) $$ where $M:=\sup_{t\in[0,T]}\|f(t)\|$.