Add 2D canvas mode compacted to the steps, ocean-chaos and reef-2d shaders
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
cebb41dbc7
commit
d917860201
1 changed files with 252 additions and 12 deletions
|
|
@ -1,8 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
# Usage: treppe-run.sh <shader.glsl> [brightness 0-100, default 100]
|
||||
# Usage: treppe-run.sh <shader.glsl> [brightness 0-100, default 100] [extra treppe_gl.py args]
|
||||
set -euo pipefail
|
||||
here=$(dirname "$(realpath "$0")")
|
||||
[ $# -ge 1 ] || { echo "usage: $0 <shader.glsl> [brightness 0-100]" >&2; exit 2; }
|
||||
shader=$(realpath "$1")
|
||||
cd "$here"
|
||||
exec nix-shell --run "python treppe_gl.py '$shader' --brightness ${2:-100}"
|
||||
exec nix-shell --run "python treppe_gl.py '$shader' --brightness ${2:-100} ${*:3}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue