WLJS LogoWLJS Notebook

RandomPolyhedron

RandomPolyhedron[spec] gives a pseudorandom polyhedron with the specified specification spec.

  • RandomPolyhedron[spec, k] gives a list of k pseudorandom polyhedra.

Examples

Generate a random polyhedron:

RandomPolyhedron[{"ConvexHull", 10}]

Generate multiple random polyhedra:

RandomPolyhedron[{"ConvexHull", 8}, 5]

Please visit the official Wolfram Language Reference for more details.

On this page