Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Plot intrinsic curves in 3D
ResourceFunction["Intrinsic3DCurve"][κ,τ,a,b,w,ds,n] plot an intrinsic curve with curvature κ and torsion τ with parameters a and b and width w in discrete steps ds applied n times. |
A simple curve:
In[1]:= | ![]() |
Out[1]= | ![]() |
Increasing width, we get a ribbon-like surface (in fact, a ruled surface—the other edge has a displaced TNB frame):
In[2]:= | ![]() |
Out[2]= | ![]() |
With a constant function:
In[3]:= | ![]() |
Out[3]= | ![]() |
A higher constant function:
In[4]:= | ![]() |
Out[4]= | ![]() |
A function varying rapidly needs small discrete steps to plot smoothly:
In[5]:= | ![]() |
Out[5]= | ![]() |
Avoid undefined values like log(0):
In[6]:= | ![]() |
Out[6]= | ![]() |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License