Photonic actuators with predefined shapes.