createPolyhedron
Last updated
// Base icosahedron
const poly = await api.createPolyhedron({
primitiveSettings: { polyhedronRadius: 1, polyhedronDetail: 0 },
});
// Subdivided (approaching sphere)
const poly = await api.createPolyhedron({
primitiveSettings: { polyhedronRadius: 1, polyhedronDetail: 3 },
});