Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Simulate the Ising model using a cellular automaton
ResourceFunction["IsingModelCA"][n,percent,k] gives the kth step in the evolution of an n×n Ising model with a percentage percent of black cells. | |
ResourceFunction["IsingModelCA"][n,percent,k,j] gives the jth slice of the evolution. |
Evolution with 50% of black cells:
In[1]:= |
Out[1]= |
Configurations generated after 50 steps from various initial densities:
In[2]:= |
Out[2]= |
Slices through their evolution:
In[3]:= |
Out[3]= |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License