banner
vanity-ibex.bsky.social
@vanity-ibex.bsky.social
and yes! you can reverse it and stretch the image by finding the lowest energy seam and duplicating them.

there is some cool examples/info here:
github.com/andrewdcampb...
github.com
September 25, 2025 at 1:01 PM
I think the accumulation is necessary to avoid getting trapped in local high energy areas. The cumulative map turns it into a global optimization based on the whole image by calculating the minimum total cost to reach every pixel from the top of the image.
September 25, 2025 at 12:52 PM
It's the algorithm used in photoshops "content aware scale"
September 25, 2025 at 10:51 AM
Yeah almost, the cost is determined by contrast and then stored in a cumulative energy map, basically going through the image row by row and adding the values. The seam then starts at the pixel in the last col with the minimum cumulative energy and traces backwards to find the lowest energy seam.
September 25, 2025 at 10:50 AM
It's the algorithm used in photoshops "content aware scaling" although they use a lot of optimization techniques. i want to run some heightfields through it and see what happens
September 25, 2025 at 10:49 AM
Yeah that is an incredible tool!
June 1, 2025 at 8:42 AM
Fixed now! thanks for thee feedback. You might have to clear you cached site for the update to take effect
June 1, 2025 at 8:31 AM
mhh thanks for the heads up! I'll take a look
May 30, 2025 at 4:35 PM
I think the sharp edges are going to be very difficult, because the tool isn't ideal for that 😬

but you might get a cool variation out of it!
May 30, 2025 at 2:03 PM
If you are in pole editing mode you should be able to hold down "ctrl" and click to add a pole. If you have poles selected you can delete them with "del".

But it might be bugged I only tested it on windows in one browser 😅
Let me know if it works
May 30, 2025 at 1:07 PM
Glad to hear that! 🤠
May 29, 2025 at 7:58 PM