Closed curves of prescribed curvature and a pinning effect

We prove that for any $H: R^2 \to R$ which is $Z^2$-periodic, there exists $H_\varepsilon$, which is smooth, $\varepsilon$-close to $H$ in $L^1$, with $L^\infty$-norm controlled by the one of $H$, and with the same average of $H$, for which there exists a smooth closed curve $\gamma_\varepsilon$ whose curvature is $H_\varepsilon$. A pinning phenomenon for curvature driven flow with a periodic forcing term then follows. Namely, curves in fine periodic media may be moved only by small amounts, of the order of the period.