scritcher/README.md

44 lines
1.1 KiB
Markdown
Raw Normal View History

2019-06-06 20:05:59 +00:00
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
2019-07-08 03:26:37 +00:00
```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
2019-07-08 03:25:55 +00:00
# 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