From db1f61d6f5af743e7988a2c2ad91548232cb470f Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Mon, 26 May 2025 00:55:05 -0400 Subject: Update --- templates/api/throwshade.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'templates/api') 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); } @@ -54,6 +59,6 @@ vec4 shade(vec2 cs) {
         hiiiiiiiii
-      
+      
-- cgit v1.2.3