FreeVJ / Loop library / Particle
Warp Stars
Star streaks bursting from the centre; the bass stretches the trails.
GLSL source
// Star streaks shooting from the centre. Each streak turns 1–3 whole times every 4 beats — seamless. Lows stretch the tails.
vec2 prim(vec2 uv) {
vec2 p = asp(uv);
float r = length(p);
float a = atan(p.y, p.x) / TAU + 0.5;
float cells = floor(uParams.x);
float ci = floor(a * cells);
float h = h11(ci + uSeed * 91.0);
float z = fract(h * 13.1 + uBeat * 0.25 * (1.0 + floor(h * 3.0)));
float rr = z * z * 1.3;
float len = 0.02 + (uBass * 0.18 + uKick * 0.06) * z;
float d = rr - r;
float streak = step(0.0, d) * smoothstep(len, 0.0, d);
float lat = abs(fract(a * cells) - 0.5) / cells * TAU * max(r, 0.02);
float line = smoothstep(0.0035 + 0.003 * z, 0.0, lat);
float l = line * streak * (0.35 + 0.65 * z) * step(0.5, h11(ci * 1.37 + 3.1) + uParams.y);
return vec2(l, l);
}
One vec2 prim(vec2 uv) function using the shared uniform contract (uBeat · uBass · uKick …). It outputs luma and alpha only.
Similar loops
Sine Weave
Pattern · Woven sine lines that swell with the mids.
Polyhaven Wood Inlaid Concrete Wall
Texture · Wood Inlaid Concrete Wall
Polyhaven Gingham Check
Texture · Gingham Check
Noise Flow
Field · Slow smoke and nebula flow that gains contrast with the energy.
Ambientcg Surface Imperfections 011
Texture · Surface Imperfections 011
Ambientcg Roofing Tiles 010
Texture · Roofing Tiles 010