Vortex dynamics and applications to gaseous optical elements