Variable optics