diff options
| author | LLLL Colonq <llll@colonq> | 2025-05-26 00:55:05 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2025-05-26 00:55:05 -0400 |
| commit | db1f61d6f5af743e7988a2c2ad91548232cb470f (patch) | |
| tree | 56545b2c5415c2bc4c79c8a2624cfed7f4c1c96e /templates | |
| parent | 8fdce1b98765e23b8953ba9e0f173c544bf04278 (diff) | |
Update
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/api/throwshade.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/templates/api/throwshade.html b/templates/api/throwshade.html index c67e2f6..cd1b2d2 100644 --- a/templates/api/throwshade.html +++ b/templates/api/throwshade.html @@ -39,9 +39,14 @@ CONFIG_SUBST // the parameter "cs" is a screen coordinate - it ranges from (0, 0) in the top left // to (1.0, 1.0) in the bottom right // available uniforms: -// float time - time in seconds since shader started // vec2 resolution - display resolution in pixels (it's 1920x1080 :3) +// float time - time in seconds since shader started // float chat_time - timestamp (in seconds since shader started) of last chat message +// float tracking_mouth - how open my mouth is (1.0 = Fully Open, 0.0 = Fully Antiopen) +// vec2 tracking_eyes - how open each eye is (1.0 = Fully Open Also) +// vec2 emacs_cursor - position of my emacs cursor on screen (in pixels) +// vec2 mouse_cursor - position of my mouse cursor on screen (in pixels) +// int heartrate - current rate at which my heart is beating (in Hz) vec4 shade(vec2 cs) { return vec4(0.0, 1.0, 0.0, 1.0); }</textarea> @@ -54,6 +59,6 @@ vec4 shade(vec2 cs) { </div> <pre id="lcolonq-throwshade-current"> hiiiiiiiii - </div> + </pre> </body> </html> |
