Comment Comment by asoto I wrote a version of this in javascript with a live demo you can play with at https://alexander.soto.io/seam-carving parent asoto 8 years ago