These windows—dubbed "thermochromic" for their ability to change colors in response to heat—can convert sunlight into electricity using minerals called perovskites and single-walled carbon nanotubes.