A diamond crystalline nucleus (red) embedded in liquid carbon (gray lines). Simulations show that the rate of diamond nucleation strongly depends on the local coordination of the liquid.