Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Create a pyritohedron
ResourceFunction["Pyritohedron"][h] returns a pyritohedron with displacement parameter h, represented as a Polyhedron object. |
A pyritohedron:
In[1]:= |
|
Out[1]= |
|
Surface area and volume of a pyritohedron:
In[2]:= |
|
Out[2]= |
|
Moment of inertia matrix for a pyritohedron:
In[3]:= |
|
Out[3]= |
|
Pyritohedron[] is equivalent to Pyritohedron[1/2]:
In[4]:= |
|
Out[4]= |
|
Pyritohedron[1/GoldenRatio] is equivalent to a regular dodecahedron:
In[5]:= |
|
Out[5]= |
|
A pyritohedron is self-dual:
In[6]:= |
|
Out[6]= |
|
Show the effect of varying the displacement:
In[7]:= |
|
Out[7]= |
|
This work is licensed under a Creative Commons Attribution 4.0 International License