Add brightness option and run/dry wrapper scripts

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
April John 2026-10-16 14:38:55 +02:00
commit 0ff391bfa1

View file

@ -11,7 +11,9 @@ stairs show. On exit it sends a black frame. The stairs power must be on
nix-shell --run "python treppe_gl.py shaders/flow.glsl"
nix-shell --run "python treppe_gl.py shaders/pulse.glsl --dry-run"
Options: `--host`, `--port`, `--fps`, `--dry-run` (send nothing),
Wrappers: `./treppe-run.sh <shader> [brightness]` and `./treppe-dry.sh <shader> [brightness]` (dry run, nothing is sent).
Options: `--brightness 0-100` (scales output, default 100), `--host`, `--port`, `--fps`, `--dry-run` (send nothing),
`--no-window` (headless), `--white {extract,alpha,off}`.
Shaders define `mainImage(out vec4 fragColor, in vec2 fragCoord)` and may