Intelligent Scissors Example

Click Start button to launch the code below.
Then click on image to pick source point. After that you can hover mouse pointer over canvas to specify target point candidate.
You can change the code in the <textarea> to investigate more. You can choose another image (need to "Stop" first).