the design details of SphereMask?

@ClockworkOcean , Thanks for your reply. I know how to use SphereMask, but, it’s really interested to know what is behind this and how it is designed.