See how the steam forms a realistic, imperfectly close-packed pattern of holes.
In nature, systems try to minimise their energy. When many steam holes have to share a limited area (such as the surface in a pot), they would ideally arrange themselves in a perfect hexagonal pattern in order to be as far apart from one another as possible (maximising flow, minimising pressure).
There are two main physical reasons why the pattern does not turn out as a flawless lattice and instead becomes "imperfectly close-packed":
We can model the position of a hole, $\vec{r}_i$, as a combination of its ideal position in a crystal lattice $\vec{r}_{ideal}$ plus a noise term $\vec{\eta}$ that represents the granular disorder:
Where:
$\vec{r}_i$ = The actual position of the steam hole on the surface.
$\vec{r}_{ideal}$ = The perfect hexagonal position determined by the mean spacing $\lambda$.
$\vec{\eta}(x,y)$ = The displacement vector (the noise) created by local conditions.
$\kappa(x,y)$ = The local field of the permeability of the rice mass. The hole is drawn to where the resistance is lowest.
In the animation behind this text, this is implemented by first calculating a hexagonal close-packing lattice, after which each node is moved randomly in an arbitrary direction by a magnitude corresponding to about 40% of the spacing between the holes. This creates the familiar, natural rice pattern.