main = (params) => {
  const shapes = [
    cuboidFrame({ size: [2, 2, 2], center: [9, 4, 4] }),
    cuboidFrame({ size: [5, 12, 8], center: [8, 7, 10] }),
    cuboidFrame({ size: [6, 6, 6], center: [4, 7, 8] }),
    cuboidFrame({ size: [10, 10, 3], center: [8, 16, 10] })
  ]
  const modes = JSON.parse(params.modes)
  const relativeTo = JSON.parse(params.relativeTo)
  const grouped = params.grouped
  return align({ modes, relativeTo, grouped }, shapes)
}
Generates a series of boxes of various sizes, and uses the align function to align them in different ways.
@param {Boolean} params.grouped - Treat all objects as a single object.
@param {String} params.modes - How to treat alignment on each axis.
@param {String} params.relativeTo - The relative point to align geometries. Null to use the group's bounding box.
@returns {geometry}