Rescaling usually doesn't work well because the MagSafe portion is static between all sizes. Hence, every custom sizing needs a custom re-design.
In practice, experience says doing this (in a robust way) is a lot harder than it sounds. ;)
Thanks, very nice design and write-up.
I’ll share the source once it’s a bit less painful to look at (right now everything is a bunch of copy-pasted spaghetti code :')