scritcher/README.md
2019-07-08 00:26:37 -03:00

43 lines
1.1 KiB
Markdown

scritcher
====
glitch art "framework", ????????
# how do?
currently it can't do much other than running a selected LV2 plugin
over bmp files.
- zig at https://ziglang.org
- libc, lilv and libsndfile
- an appreciation for glitched anime girls on your hard drive
- optional: imagemagick to convert from whatever to bmp
```bash
# build and install
# assumes lilv headers are at /usr/include/lilv-0, check build.zig if different
git clone https://gitdab.com/luna/scritcher.git
cd scritcher
# edit src/main.zig so that oldMain points to main, and current main to oldMain
# i'm working on the language part of scritcher and its right now separate from
# the whole "porting lv2apply to zig" function.
zig build install --prefix ~/.local/
# on your input image file
convert blah.jpg blah.bmp
# i THINK you can get eg-amp as one of the
# default plugins in a lv2 install
scritcher -i blah.bmp -o out.bmp -c gain 10 http://lv2plug.in/plugins/eg-amp
$your_image_viewer out.bmp
```
## todo
- search other plugins
- make a "scripting" language out of them (you can see some of it
in doc/ and examples/)
- conquer the world for glitchy anime girls