FreeVJ FULL AUTO VJ LOOP

FreeVJ / Loop library / Particle

Drift Dust

Slow drifting dust that sparkles with the hi-hats.

Drift Dust
Play this loop live

Exports are made in this browser and saved directly.

GLSL source

// One dust mote per cell drifts round a circle once every 16 beats (seamless). Highs grow its size.
vec2 prim(vec2 uv) {
    vec2 g = asp(uv) * uParams.x;
    vec2 cell = floor(g);
    float l = 0.0;
    for (int j = -1; j <= 1; j++) {
        for (int i = -1; i <= 1; i++) {
            vec2 c = cell + vec2(float(i), float(j));
            float h = h21(c + uSeed * 17.0);
            if (h < 0.35) continue;
            float ph = TAU * (uBeat / 16.0 + h);
            vec2 pos = c + 0.5 + 0.38 * vec2(sin(ph), cos(ph * 1.0 + h * 4.0));
            float size = (0.04 + 0.05 * h21(c * 1.7)) * (1.0 + uHigh * 1.4) * uParams.y;
            l += smoothstep(size, 0.0, length(g - pos)) * (0.4 + 0.6 * h);
        }
    }
    l = min(l, 1.0);
    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

☕ Buy me a coffee

FreeVJ is free. If you enjoy it, support the maker with a coffee's worth of USDT.

USDT · TRON (TRC20) TRC20 network only

TVg11kWumyqNpRU9HXKo8a8u2fa8sdJtKh

☕ 3 USDT☕☕ 5 USDT☕☕☕ 10 USDT

How to send with Binance
  1. Binance app: Wallet › Withdraw › USDT › paste the address (or scan the QR) › network TRC20 › amount › confirm. The address belongs to Binance, so it may go through as a free internal transfer.
  2. Other wallets and exchanges (Trust Wallet, OKX, Bybit …): send USDT on the TRC20 network to the same address. A self-custody wallet needs a little TRX for the fee.

Always send on the TRC20 network. USDT sent on another network is hard to recover.