It's not just the 2D polygon, all of the illustrations use the same technique. The gradient descent works especially well.
Yes, the same could be achieved with a slider, but I personally don't think I'd have tried it when scanning through.
I'm not condoning this technique for general use..