Better VAR control tools!

I’m trying to develop a colorwheel to choose colors but it’s quite complicated in the sense that it would take more advanced features in the “VAR” tool.
For example a new function VAR_PERC that once set a circle of radius R returns a value as a function of the distance of the touch from the center, same thing for a rectangle in function of the X or Y direction.
Maybe it’s a rather special and too sectoral request but you know I like to ask!
ps: I forgot … even a VAR_RESET_ALL function!

Nice idea.