28 lines
543 B
Markdown
28 lines
543 B
Markdown
# 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
|
|
```shell
|
|
zig build run
|
|
```
|
|
|
|
Web (currently broken)
|
|
```shell
|
|
emsdk install latest
|
|
zig build -Dtarget=wasm32-emscripten --sysroot [path to emsdk]/upstream/emscripten run
|
|
```
|