HOME | DD

MathMod — Lobs

#3d #mathmod #mathematics
Published: 2015-11-08 17:04:29 +0000 UTC; Views: 255; Favourites: 1; Downloads: 1
Redirect to original
Description Lobs (parametric surfaces)
The curled patterns are not just made with a 3D texture but are in fact real deformations of the surface.
MathMod script:
{
"Param3D": {
"Description ": ["Lobs by Abderrahman Taha 08/11/2015"],
"Name": ["Lobs"],
"Component": ["Lobs1",
"Lobs2"],
"Const": ["cu=0.001",
"cv=0.001"],
"Funct": ["Tickness1=if( t = 1, if ( (sin(13*v-7*u))<.4,-1, 3*cos(u)*cos(v)*sin(u)-0.63),if ( (sin(13*v-7*u))>.4,-1,3*cos(u)*cos(v)*sin(u)-0.63))",
"Fx=cos(u)*cos(v)",
"Fy=sin(u)",
"Fz=cos(u)*sin(v)",
"DFxu= ((Fx(u,v,t)-Fx(u+cu,v,t))/cu)",
"DFxv= ((Fx(u,v,t)-Fx(u,v+cv,t))/cv)",
"DFyu= ((Fy(u,v,t)-Fy(u+cu,v,t))/cu)",
"DFyv= ((Fy(u,v,t)-Fy(u,v+cv,t))/cv)",
"DFzu= ((Fz(u,v,t)-Fz(u+cu,v,t))/cu)",
"DFzv= ((Fz(u,v,t)-Fz(u,v+cv,t))/cv)",
"n1= (DFyu(u,v,t)*DFzv(u,v,t)-DFzu(u,v,t)*DFyv(u,v,t))",
"n2= (DFzu(u,v,t)*DFxv(u,v,t)-DFxu(u,v,t)*DFzv(u,v,t))",
"n3= (DFxu(u,v,t)*DFyv(u,v,t)-DFyu(u,v,t)*DFxv(u,v,t))",
"R=sqrt(n1(u,v,t)^2+n2(u,v,t)^2+n3(u,v,t)^2)",
"Gx=Fx(u,v,t)+Tickness1(u,v,t)*n1(u,v,t)/R(u,v,t)",
"Gy=Fy(u,v,t)+Tickness1(u,v,t)*n2(u,v,t)/R(u,v,t)",
"Gz=Fz(u,v,t)+Tickness1(u,v,t)*n3(u,v,t)/R(u,v,t)"],
"Fx": ["Gx(u,v,1)",
"Gx(u,v,0)"],
"Fy": ["Gy(u,v,1)",
"Gy(u,v,0)"],
"Fz": ["Gz(u,v,1)",
"Gz(u,v,0)"],
"Umax": ["pi/2",
"pi/2"],
"Umin": ["-pi/2",
"-pi/2"],
"Vmax": ["2*pi",
"2*pi"],
"Vmin": ["0",
"0"]
}
}
Related content
Comments: 0