main = (params) => {
  const dimension = 20
  const coordinateSystem = colorize([0, 0, 0, 0.5], cuboidFrame({ size: [20, 20, 20] }))

  const axisX = colorize([1, 0, 0], axisDirection(dimension, 'X'))
  const axisY = colorize([0, 1, 0], axisDirection(dimension, 'Y'))
  const axisZ = colorize([0, 0, 1], axisDirection(dimension, 'Z'))

  // apply the rotations
  const rotations = [degToRad(params.rotateX), degToRad(params.rotateY), degToRad(params.rotateZ)]
  const rotated = rotate(rotations, coordinateSystem)

  return [coordinateSystem, rotated, axisX, axisY, axisZ]
}
Demonstration of three-dimensional coordinate system, and rotations about X, Y and Z axis.
@param {Number} params.rotateX - Rotation (degrees) about the X axis
@param {Number} params.rotateY - Rotation (degrees) about the Y axis
@param {Number} params.rotateZ - Rotation (degrees) about the Z axis
@returns {geometries}