Every speaker uses either the local variant (amber) or the prestige variant (blue). Speakers copy neighbours, with a social bias toward the prestige form. Change the bias, the network and the seed group and watch the S-curve.
Running check...
The science
Sociolinguistics studies how language varies with social factors: region (dialect), group (accent, sociolect) and situation (register). Labov's work shows that a new variant typically spreads along an S-shaped (logistic) curve: slow at first, fast in the middle, slow at the end (Kroch 1989, "constant rate effect").
Model. Each of N speakers uses variant 0 (local) or 1 (prestige). In one update a random speaker i listens to a random neighbour j. If j uses the other variant, i adopts it with probability (1+s)/2 if j's variant is the prestige one, and (1−s)/2 if it is the local one. The bias s in [−1, 1] stands for the social value attached to the variant (s<0 favours the local form, s=0 is neutral drift). A sweep is N updates.
Mean-field law. In a well-mixed population the expected change per update is x(1−x)·s/N, so per sweep dx/dt = s·x(1−x) with solution x(t) = 1/(1 + ((1−x0)/x0)·e^(−s·t)). The dashed curve in the graph is this law; the page also runs a hidden Monte Carlo (N=3000, five runs) and compares it to the formula as the independent check.
Social network. The ring-lattice network (each speaker linked to 3 neighbours each side, as in Watts and Strogatz 1998) spreads change as a slow travelling front; random shortcuts (rewiring) mix the community and restore the logistic curve. This is why geographically isolated communities change dialect more slowly.
Simplifications. Binary variants, equal-weight neighbours, no age or class structure, no individual stubbornness and no speaker memory. With s=0 the model is neutral drift and the final state is random. The parameters are illustrative, not fitted to any real language.