From Feynman's wave function to the effective theory of vortex dynamics