Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Generate a random loop in 3D space
ResourceFunction["RandomLoop3D"][n] generates a random loop of n points in 3D space. |
Generate a random loop of 5 points:
| In[1]:= |
| Out[1]= |
All points are exactly a unit distance apart from their neighboring points:
| In[2]:= |
| Out[2]= |
| In[3]:= |
| Out[4]= | ![]() |
Generate a random loop of 8 points. Sometimes the loop is also a knot:
| In[5]:= |
| Out[6]= | ![]() |
Wolfram Language 14.0 (January 2024) or above
This work is licensed under a Creative Commons Attribution 4.0 International License