Interactive lab lets you close Philly streets and watch the graph Laplacian spectrum shift

prof_g · x · 2026-10-30

A neat interactive site called "Philly Under Construction" applies spectral graph theory to Philadelphia's real street network — 371 intersections and 591 roads.

You can put streets "under construction" (close Market, keep only Walnut open, cut all six river crossings) and watch how the graph Laplacian eigenvalues respond: algebraic connectivity λ₂ drops, and eigenvalues hit zero as the graph splits into disconnected components.

A spectral layout view repositions each intersection using eigenvectors φ₂ and φ₃ as coordinates, making it visually obvious which roads hold the city together. A genuinely intuitive demo of abstract linear algebra.

Original post →

More from Fun

Fun channel →