HOME | DD

MathMod — Spiky Klein

#mathematics #mathmod
Published: 2017-04-30 12:13:38 +0000 UTC; Views: 223; Favourites: 1; Downloads: 3
Redirect to original
Related content
Comments: 3

Sabine62 [2017-05-01 20:23:57 +0000 UTC]

👍: 0 ⏩: 1

MathMod In reply to Sabine62 [2017-05-01 21:58:02 +0000 UTC]

👍: 0 ⏩: 0

MathMod [2017-04-30 12:19:00 +0000 UTC]

MathMod script:
{
"Param3D": {
"Description ": ["Spiky Klein by Abderrahman Taha 11/04/2017"],
"Name": ["Spiky Klein"],
"Component": ["SpikyKlein"],
"Const": ["cu=0.001",
"cv=0.001",
"N=5",
"A=3.5",
"B=2",
"C=3",
"D=3"],
"Funct": ["th=0.3*((abs(sin(11*u)*cos(11*v)))^19+0.1*((sin(2*N*u))))",
"Fx=if(v<2*pi, (A-(A-1)*cos(v))*cos(u),if(v < 3*pi, -B+(B+cos(u))*cos(v),-B+B*cos(v)-cos(u)))",
"Fy=if(v<2*pi,(A-(A-1)*cos(v))*sin(u), sin(u))",
"Fz=if(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))",
"Rapp=u/sqrt(u*u+v*v+t*t)",
"Gx=Fx(u,v,t)+th(u,v-3*t,t)*Rapp(n1(u,v,t),n2(u,v,t),n3(u,v,t))",
"Gy=Fy(u,v,t)+th(u,v-3*t,t)*Rapp(n2(u,v,t),n1(u,v,t),n3(u,v,t))",
"Gz=Fz(u,v,t)+th(u,v-3*t,t)*Rapp(n3(u,v,t),n1(u,v,t),n2(u,v,t))"],
"Fx": ["Gx(u,v,t)"],
"Fy": ["Gy(u,v,t)"],
"Fz": ["Gz(u,v,t)"],
"Umax": ["2*pi"],
"Umin": ["0"],
"Vmax": ["4*pi"],
"Vmin": ["0"]
}
}

👍: 0 ⏩: 0