FreeVJ / Loop library / Field
Noise Flow
Slow smoke and nebula flow that gains contrast with the energy.
GLSL source
// Domain-warped fbm smoke · nebula. The time offset circles once every 16 beats (seamless). Energy raises the contrast.
vec2 prim(vec2 uv) {
vec2 p = asp(uv) * uParams.x;
float t = uBeat * TAU / 16.0;
vec2 o = vec2(cos(t), sin(t)) * 0.8;
vec2 q = vec2(fbm(p + o), fbm(p + o.yx + 5.2));
float n = fbm(p + 1.7 * q + vec2(1.3, 9.2) + o * 0.5);
float l = smoothstep(0.25, 0.85 - 0.25 * uEnergy, n);
return vec2(l, l * uParams.y);
}
One vec2 prim(vec2 uv) function using the shared uniform contract (uBeat · uBass · uKick …). It outputs luma and alpha only.