Metal-organic frameworks (MOFs) and covalent-organic frameworks (COFs) are crystalline, permanently porous solids built from metal or organic nodes linked by rigid struts, and their defining trick is that the pore aperture can be dialed in almost like a molecular sieve. This simulator renders a real cubic framework lattice and lets you tune the pore aperture, temperature and adsorption binding energy while a mixture of CO₂, N₂ and CH₄ molecules — each carrying its real kinetic diameter — diffuses through the structure. Molecules too large for the current aperture are size-excluded outright; the rest compete for open metal sites under genuine Langmuir/Boltzmann kinetics, so the live loading and CO₂:N₂ selectivity readouts show exactly how real frameworks like ZIF-8 achieve selective gas capture and separation.