Potts Model

1

Graph

Initial Conditions

5
40

Explaination

This website offers an interactive simulation of the Potts model, a fundamental statistical model used to study phenomena such as phase transitions in magnetic systems. The Potts model is a generalization of the Ising model: each site of a two-dimensional grid can take one of Q possible states, and interactions between neighboring sites tend to align the states, leading to ordered configurations and critical phenomena. The system updates every 50 ms using a combination of the Metropolis and Wolff algorithms. On the side, there is a chart showing the evolution of physical observables such as the average energy and the order parameter (a measure of the system’s uniformity) over time. By changing the temperature, you can observe how the system approaches equilibrium and how these observables behave near the critical point, where phase transitions occur. For Q > 4 the transition is of first order, while for Q ≤ 4 it is of second order. You can change the number of possible states and the grid size using the sliders. The source code is available on GitHub This was developed as a university project. Feel free to leave suggestions or report issues on the GitHub page.