3 ms·
If folks are interested in a simple implementation to read or reuse, here's a JS version I wrote back when HTML5 and <canvas> were new and exciting (over 10 yea
by thamer 6y ago
If folks are interested in a simple implementation to read or reuse, here's a JS version I wrote back when HTML5 and <canvas> were new and exciting (over 10 years ago now): https://nicolasff.github.io/canvas-seam-carving/ https://nicolasff.github.io/canvas-seam-carving/
The button says "warning: very slow" but JavaScript performance has significantly improved since then :-)
Still a very cool technique, and pretty easy to implement.