The triboelectric effect works this way – it will first capture the energy inherent in static electricity which happens whenever two different materials collide. Basically, this new smart glass will be able to change color, as well as generate electricity, now how about that for flexibility and wonder?
Since glass is more often than not exposed to the elements, why not take advantage of the situation and maximize it? Come rain and heavy winds, and you have a very likely scenario for the triboelectric effect to kick in, resulting in this dual-layer glass that will be able to take advantage of such a situation, thanks to nanogenerators embedded in the first layer which will capture positively charged energy in water droplets, as the second layer that carries a couple of charged plastic sheets with tiny springs sandwiched in between, allowing increasing wind pressure on the glass to push the plastic sheets closer together, resulting in an electric current.
Now that’s smart!