Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Represent a circle in 3D
ResourceFunction["Circle3D"][] represents a circle in 3D of radius 1, centered at the origin and perpendicular to the x-axis. | |
ResourceFunction["Circle3D"][{ry,rz}] represents an ellipse in 3D with semiaxes lengths ry and rz, centered at the origin and perpendicular to the x-axis. | |
ResourceFunction["Circle3D"][{x,y,z},{ry,rz},ψ,ζ] represents a circle in 3D with semiaxes lengths ry and rz, centered at {x,y,z} and rotated by angles ψ and ζ around 3D vectors parallel to y- and z-axes respectively. |
A unit circle in 3D:
In[1]:= |
Out[1]= |
An ellipse in 3D:
In[2]:= |
Out[2]= |
We can use a Manipulate to explore all the parameters of the function Circle3D:
In[3]:= |
Out[3]= |
This work is licensed under a Creative Commons Attribution 4.0 International License