src | ||
.gitignore | ||
build.zig | ||
build.zig.zon | ||
README.md |
Seam carving
https://en.wikipedia.org/wiki/Seam_carving
Feature wishlist
- Drag & drop custom images
- Make it run well in debug mode
- Incremental/partial updating of energy field
- Multi-threaded carving
- Seam insertion/generation
- Marking areas to preserve or remove
- Realtime (a.k.a. 60fps) seam carving
- Fix web build
Building & run
Windows & linux
zig build run
Web (currently broken)
emsdk install latest
zig build -Dtarget=wasm32-emscripten --sysroot [path to emsdk]/upstream/emscripten run