Quick little tweak to make the build speed up while a build is running.

This commit is contained in:
Zed A. Shaw 2025-04-23 10:45:36 -04:00
parent 94c9cd75a8
commit d1c2352237
4 changed files with 14 additions and 112 deletions

View file

@ -5,7 +5,7 @@ uniform sampler2D source;
uniform float u_mouse;
uniform float value = 0.2;
uniform bool is_error = false;
uniform int line_length = 100;
uniform int speedup = 1;
float random (in vec2 st) {
return fract(sin(dot(st.xy,
@ -49,7 +49,7 @@ void main() {
vec2 st = gl_FragCoord.xy/u_resolution.xy * 3.0;
vec3 color = vec3(0.0);
float speed = u_time;
float speed = u_time * speedup;
float value = 0.8;
vec3 base_tone = is_error ? vec3(1.0, 0.5, 0.5) : vec3(0.5, 1.0, 0.5);