aboutsummaryrefslogtreecommitdiff
path: root/pass1.frag
diff options
context:
space:
mode:
Diffstat (limited to 'pass1.frag')
-rw-r--r--pass1.frag6
1 files changed, 3 insertions, 3 deletions
diff --git a/pass1.frag b/pass1.frag
index f00cdcf..5cac343 100644
--- a/pass1.frag
+++ b/pass1.frag
@@ -9,7 +9,7 @@ layout(location = U_LOC_TIME) uniform float time;
layout(location = U_LOC_PASS1) uniform sampler2D buf;
ivec2 res = ivec2(RES_H, RES_V);
-const float step = 0.03;
+const float step = 0.02;
const float turns = 9.0;
const vec3 white = vec3(1.0, 1.0, 1.0);
@@ -24,9 +24,9 @@ void main() {
vec2 gc = (uv - 0.5) * 2.0; // graph coordinates (-1,-1) to (1,1)
gc.x *= float(res.x) / float(res.y); // adjust circle aspect ratio
- float offset = time * 1.0;
+ float offset = time * 4.0;
- float mag = 1.3 + 0.5 * sin(2 * time); // braid ratio
+ float mag = 1.5 + 0.5 * sin(2 * time); // braid ratio
float size = 0.4 + 0.1 * sin(3 * time); // total size
for (float t = 0.0; t < PI_2; t += step) {