3 ms·
The demo also shows a spectacular phase transition. Make a mix like 10% / 90%, set tolerance to 50%. Even though some clusters form, a lot of unsatisfied dots
by nine_k 5y ago
The demo also shows a spectacular phase transition.
Make a mix like 10% / 90%, set tolerance to 50%. Even though some clusters form, a lot of unsatisfied dots keeps wandering around indefinitely, because there are not enough contiguous free areas.
Then change the tolerance to 51%, the smallest amount past 1/2. Very-very quickly clusters form and motion stops; the segregation is complete and stable.