HOME | DD

MathMod — Multi Sided Torus

#mathematics #mathmod
Published: 2015-10-23 15:15:26 +0000 UTC; Views: 265; Favourites: 0; Downloads: 0
Redirect to original
Description Multi-sided Torus:
The attached script let you set the number of sides of the Torus with the parameter N. The attached images are for N= 3, 4, 5 and 15
MathMod script:
{
"Param3D": {
"Description ": ["Multi-sided Torus by Abderrahman Taha 13/10/2015"],
"Name": ["Multi-sided Torus"],
"Component": ["MultiSidedTorus "],
"Const": ["N=15",
"R3=3",
"R=1.5",
"r=R/N"],
"Funct": ["F1 = (R3 + r*cos(u/N+(r-R)/r*v)+(R-r)*cos(u/N+v))",
"F2 = (r*sin(u/N+(r-R)/r*v)+(R-r)*sin(u/N+v))"],
"Fx": ["sin(u)*F1(u,v,t)"],
"Fy": ["cos(u)*F1(u,v,t) "],
"Fz": ["F2(u,v,t)"],
"Umax": ["pi"],
"Umin": ["-pi"],
"Vmax": ["pi"],
"Vmin": ["-pi"]
}
}
Related content
Comments: 0