1
0
Go to file
2024-07-14 04:21:08 +03:00
src implement basic seam carving algorithm 2024-07-14 04:21:08 +03:00
.gitignore initial commit 2024-07-11 23:57:56 +03:00
build.zig implement basic seam carving algorithm 2024-07-14 04:21:08 +03:00
build.zig.zon implement basic seam carving algorithm 2024-07-14 04:21:08 +03:00
README.md implement basic seam carving algorithm 2024-07-14 04:21:08 +03:00

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