https://magnetsimulatorscript.pages.dev/posts/magnet-simulator-script/
Magnet Simulator Script