Fluid deformation using arbitrary, separate grid from input images