main = (params) => {
  const o = []
  const rows = 8
  for (let ix = 0; ix <= rows; ix++) {
    for (let iy = 0; iy <= rows; iy++) {
      for (let iz = 0; iz <= rows; iz++) {
        const cube = translate(getTranslation(ix, iy, iz, rows), cuboid([1, 1, 1]))
        const color = getColor(ix / rows, iy / rows, iz / rows, params.method)
        o.push(colorize(color, cube))
      }
    }
  }
  return o
}
Creates a 9x9x9 cube showing color variations on the the 3 main spectra (rgb, hsv, hsl)
@param {String} params.method - The spectrum function to use: 'rgb'|'hsv'|'hsl'
@returns {[geometry]}