Optimal control of a laser source to generate a minimum time trajectory of a droplet in a liquid layer