Clear nanoscale films on eyeglasses, computer and camera displays, windows, and other surfaces can make them water- and residue-repellent, antireflective, self-cleaning, resistant to ultraviolet or infrared light, antifog, antimicrobial, scratch-resistant, or electrically conductive.