Diagonalizing…
LDOS low → high

Graphene Nanoribbon Edge-State Spectral Map

Cutting a sheet of graphene into a narrow ribbon does more than shrink it — the shape of the cut edge changes the electronic structure. This simulator constructs a finite honeycomb lattice with a real, adjustable nearest-neighbor tight-binding Hamiltonian, diagonalizes it exactly in the browser, and renders the whole spectrum as a row-vs-energy local-density-of-states map instead of a 3D wavefunction landscape. Switch between zigzag and armchair edge termination to see the textbook result: zigzag-terminated ribbons develop a bright E = 0 stripe confined to the boundary rows, while armchair-terminated ribbons of the same size do not.