https://thecode.media/magnetic-material/