Text this: Diffusion limited synthesis of wafer-scale covalent organic framework films for adaptative visual device