Home▸Networks & Graph Theory▸Small-World Networks (2D)

🕸️ 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.

Networks & Graph Theory2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-small-world ↗ Open standalone
⚙ 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

What did you find?

Add reproduction steps (optional)