Table of Contents ▸ List of Commands ▸ 3D Meshes ▸ sphere3d | ◀ specs3d | spherical3d ▶ |
sphere3d
Arguments:
- radius,_nb_recursions!=0 or
- radius,_nb_phi>=3,_nb_theta>=3
Description:
Input 3D sphere at (0,0,0), with specified geometry.If 2 arguments are specified:
If nb_recursions>0, the sphere is generated using recursive subdivisions of an icosahedron.
If nb_recursions<0, the sphere is generated using recursive subdividions of a cube.
If 3 arguments are specified, the sphere is generated using spherical coordinates discretization.
Default values:
nb_recursions=3.
Example of use:
sphere3d 100 +primitives3d 1 color3d[-2] ${-rgb}