kgroups(dstTexture.width, dstTexture.height);
    pass.end();
  }

  const settings = {
    numObjects: 200,
    affectAmount: 1,
    bandMult: 1,
    cellMult: 0.5,
    cellBright: 1,
  };

  const gui = new GUI();
  gui.add(settings, 'affectAmount', 0, 1);
  gui.add(settings, 'bandMult', 0.01, 2.0);
  gui.add(settings, 'cellMult', 0, 1);
  gui.add(settings, 'cellBright', 0, 2);

  const euclideanModulo = (x, a) => x - a * Math.floor(x / a);

  let then = 0;
  function render(now) {
    now *= 0.001;  // c