An application for modeling various spin dynamics in 1D (Ising-like) ferromagnet/antiferromagnet grid