Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Construct a 3D graphic of a chainmail design
ResourceFunction["MakeChainmail"][] constructs a 3D graphical image of chainmail. | |
ResourceFunction["MakeChainmail"][type] constructs an image of a specific type of chainmail. | |
ResourceFunction["MakeChainmail"][type,pos,rows,columns,spacing] constructs an image starting at pos with spacing between the given number of rows and columns. | |
ResourceFunction["MakeChainmail"][type,pos,rows,columns,spacing,θ] constructs an image rotated by θ about the x-axis. |
The default chainmail type is the European 4-in-1 with three rows and columns:
| In[1]:= |
| Out[1]= | ![]() |
| In[2]:= |
| Out[2]= | ![]() |
The function takes the same options as Graphics3D:
| In[3]:= |
| Out[3]= | ![]() |
| In[4]:= |
| Out[4]= | ![]() |
Other chainmail types are also supported:
| In[5]:= |
| Out[5]= | ![]() |
Specify a custom number of rows and columns:
| In[6]:= |
| Out[6]= | ![]() |
Define a custom separation of links:
| In[7]:= |
| Out[7]= | ![]() |
Define a custom starting position:
| In[8]:= |
| Out[8]= | ![]() |
Rotate individual links about the x-axis by different angles:
| In[9]:= | ![]() |
| Out[9]= | ![]() |
Create an octahedral chainmail mesh region:
| In[10]:= |
| Out[10]= | ![]() |
Generate graphics of the Japanese 6-in-1 chainmail with randomized viewing parameters:
| In[11]:= | ![]() |
| Out[11]= | ![]() |
Dynamically adjust the spacing for each chainmail type:
| In[12]:= | ![]() |
| Out[12]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License