Tight-binding models in 1D, 2D and 3D. Bands, Berry curvature, Wilson loops,
open boundaries, and a symmetry panel that checks each model against its own
declaration.
perturbations — H = H0 + Hpert.
Greyed-out controls do not apply to this model's basis; hover to see why.
Topological quantities come from Fukui–Hatsugai–Suzuki link variables, so the
Chern number is an exact integer by construction rather than a rounded Riemann sum,
and it stays correct on a coarse grid as long as the gap is open. When the gap closes
the number is withheld instead of shown, because the sum still returns an integer that
means nothing. Dragging a slider renders a coarse preview; releasing it triggers the
full grid and the observables. Model definitions live in models.js —
add a dvec and the rest of the panels follow.