Light-induced swirling and locomotion