code: function updateGreyColorBuffer(buf) {
    for (let i = 0; i < buf.length; ++i) {
      buf[i] = 0.5;
    }
    return buf;
  }
docs: ******************************************************************* * Convenience function to generate the correct number of empties *******************************************************************