In geometry, an icosahedron is a polyhedron with 20 faces.
There are many kinds of icosahedra, with some being more symmetrical than others. The most well known is the Platonic, convex regular icosahedron.

WHS.Icosahedron creates Icosahedron object by it's radius and detail.

const icosahedron = new WHS.Icosahedron({
  geometry: {
    radius: 2,
    detail: 1
  },

  material: new THREE.MeshBasicMaterial({
    color: 0xffffff
  }),

  position: [0, 100, 0]
});

icosahedron.addTo(world);

Parameters

Geometry defaults

{
  // ...

  geometry: {
    radius: 1, // Number
    detail: 0 // Number
  }
}

These defaults are additional, there are also defaults filled by MeshComponent, etc.

Instructions

{
  // ...

  geometry: ['radius', 'detail']
}