Topotactic cation exchange. This 2D companion renders the identical model as the 3D simulator, but as a thin slice through the middle of the nanocrystal instead of a full 3D render: the Se²⁻ anion sublattice (fixed scaffold) and the Cd²⁺/guest cation sites are drawn where they intersect a slab through the particle's centre, so shape, spacing and the shrinking-core front are all geometrically faithful to the real zinc-blende lattice — just viewed edge-on.
CdSe + Pb²⁺ → PbSe + Cd²⁺(aq) (1:1, both divalent)
CdSe + 2Ag⁺ → Ag₂Se + Cd²⁺(aq) (charge-balanced 2:1)
Shrinking-core kinetics. Exchange starts at the surface and the reacted shell grows inward as a sharp front at radius r(t), shrinking from the full particle radius R at a temperature-activated velocity:
dr/dt = −v(T), v(T) = A·exp(−Eₐ / R_gas·T) (Arrhenius)
Converted fraction: X(t) = 1 − (r(t)/R)³
Ag⁺ is given a lower activation energy than Pb²⁺ in this model — a real, well-documented effect: Ag⁺ is an exceptionally mobile interstitial cation in chalcogenide lattices (the same property behind superionic Ag₂S/Ag₂Se), so exchange to silver selenide is characteristically faster than exchange to lead selenide at the same temperature.
Size-dependent bandgap. Because the particle radius R stays fixed through the reaction, only the composition changes the confinement term. The effective gap uses the Brus effective-mass approximation:
E_g(R) = E_g,bulk + (ħ²π²)/(2R²)·(1/mₑ* + 1/m_h*) − 1.8e²/(4πεε₀R)
The first correction is quantum confinement (grows as 1/R²), the second is the attenuated electron–hole Coulomb attraction. PbSe has a far smaller effective mass than CdSe, so it shows dramatically stronger confinement at the same radius — the bandgap swatch color updates live from the current mix of unconverted CdSe core and converted shell.
Simplification (same as the 3D version): each cation lattice site is recolored in place rather than literally rearranged, and Ag₂Se's real 2:1 stoichiometry / lattice contraction is not modeled atomistically — the shrinking-core front and Arrhenius rate law are the physically accurate parts being demonstrated. Drag to pan the cross-section, scroll/pinch to zoom.