- anyone mind explaining to a beginner what kind of algorithm is used to achieve this effect

- i can see it changes size on clicking and dragging

- so what is the author actually doing?