55 vec2 mouseP = mouseUV * 2.0 - 1.0;
59 float swirl = 2.5 * exp(-r * 1.8) * sin(t + r * 8.0);
61 q += vec2(sin(q.y * 12.0 + t * 2.0), cos(q.x * 11.0 - t * 1.7)) * 0.025;
62 q += (mouseP - p) * 0.04 * smoothstep(0.95, 0.0, length(p - mouseP));
64 vec3 c = texture(samp, uv).rgb;
65 float curtain = sin((q.x + q.y) * 18.0 + sin(q.x * 7.0 + t) * 3.0 - t * 2.0);
66 curtain = smoothstep(0.1, 1.0, curtain * 0.5 + 0.5);
67 vec3
aurora = 0.5 + 0.5 * cos(vec3(1.4, 3.2, 5.1) + q.y * 8.0 + t);
69 c *= 1.0 - smoothstep(0.55, 0.9, r) * 0.45;