some example of konvajs
crate a line and the length will change by drag the start and end point.
when click it will add a drag point.
There is a mask on the page.
you can click and drag your mouse to create a Rect.
After create it the new Rect can drag and transform.