FreeVJ / Loop library / Pattern
Kaleido Shards
Rotating twelve-fold kaleidoscope shards that lengthen with the bass.
GLSL source
// 12-fold kaleidoscope shards. One turn every 16 beats (seamless). Lows set the length, highs the width.
vec2 prim(vec2 uv) {
vec2 p = asp(uv);
float n = floor(uParams.x);
float a = atan(p.y, p.x) + uBeat * TAU / 16.0;
float seg = TAU / n;
a = abs(mod(a, seg) - seg * 0.5);
float r = length(p);
vec2 q = vec2(cos(a), sin(a)) * r;
float len = 0.25 + uBass * 0.22 + uKick * 0.05;
float inner = 0.05 + uMid * 0.06;
float wid = (0.05 + uHigh * 0.05) * uParams.y;
float tri = step(inner, q.x) * step(q.x, len) * step(q.y, wid * (1.0 - (q.x - inner) / max(len - inner, 0.01)));
float l = tri * (0.5 + 0.5 * (1.0 - q.x / max(len, 0.01)));
return vec2(l, tri);
}
One vec2 prim(vec2 uv) function using the shared uniform contract (uBeat · uBass · uKick …). It outputs luma and alpha only.
Similar loops
Laser Fan
Shape · A fan of stage lasers sweeping from below, punching on the kick.
Spectrum Bars
Pattern · An equaliser of bars: lows on the left, mids in the middle, highs on t...
Voronoi Cells
Pattern · Living cell walls that drift and thicken with the mids.
Tunnel Rings
Pattern · Rings rushing toward a vanishing point, thickening on every kick.
Retro Grid
Pattern · A synthwave floor grid rolling toward you one row per beat.
Ambientcg Metal Walkway 012
Texture · Metal Walkway 012