🕸️ Small-World Networks (2D)
Interactive 2D Watts-Strogatz small-world network simulation. Rewire a ring lattice of nodes with probability p and watch the clustering coefficient and average path length transition from ordered to small-world to random, live on a circular graph layout.
⚙ Under the hood
A 2D Canvas2D simulation of the Watts-Strogatz small-world network model. Adjust node count, neighbor connections, and rewiring probability on a circular ring-lattice graph, and watch the clustering coefficient and average path length transition live from an ordered lattice to a small-world network to a random graph.
networksgraph theorywatts-strogatzclustering coefficientalgorithms
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install