Mat class with the magic circle.