"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "mathmodcollection.js" between
mathmod-11.0-source.zip and mathmod-11.1-source.zip

About: MathMod is a mathematical modeling software that visualize and animate implicit and parametric surfaces.

mathmodcollection.js  (mathmod-11.0-source):mathmodcollection.js  (mathmod-11.1-source)
{ {
"MathModels": [ "MathModels": [
{ {
"Param3D_C": {
"Description": ["Domain coloring for the complex function: f(z)=((Z^
2-1)*(Z-2-i)^2)/(Z^2+2+3i) by Abderrahman Taha 28/05/2021"],
"Name": ["Complex_Domain_Coloring"],
"Component": ["complex"],
"Fx": ["u"],
"Fy": ["v"],
"Fz": ["0"],
"Umax": ["3"],
"Umin": ["-3"],
"Vmax": ["3"],
"Vmin": ["-3"]
},
"Texture": {
"Colors": ["H= arg(((Z^2-1)*(Z-2-1i)^2)/(Z*Z+2+3*1i))",
"S=(2/pi)*atan(abs(((Z^2-1)*(Z-2-1i)^2)/(Z*Z+2+3*1i)))",
"B= 0.51",
"T=1.0"],
"Name": "Dream",
"Noise": ""
}
},
{
"Param3D_C": {
"Description": ["Complex function: f(Z)=1/(Z*Z+1)"],
"Name": ["Complex3D_02"],
"Component": ["complex"],
"Const": ["A=1.5"],
"Vect": ["1"],
"Fx": ["u"],
"Fy": ["v"],
"Fz": ["psh(0, real(1/(Z*Z+1))) * if(csd(0)>A, A, if(csd(0)<-A, -A,
csd(0)))"],
"Umax": ["2.5"],
"Umin": ["-2.5"],
"Vmax": ["2.5"],
"Vmin": ["-2.5"]
}
},
{
"Param3D_C": {
"Description": ["Complex3D_01 by Abderrahman Taha 28/04/2021"],
"Description": ["Complex function: f(Z)=2*Z^2+ 2*Z +2"],
"Name": ["Complex3D_01"],
"Component": ["complex"],
"Fx": ["u"],
"Fy": ["v"],
"Fz": ["-abs(2*Z*Z+2*Z+2)/3"],
"Umax": ["1"],
"Umin": ["-2"],
"Vmax": ["2"],
"Vmin": ["-2"],
"Grid": ["400","400"]
},
"Texture": {
"Colors": [
"H= abs(2*Z*Z+2*Z+2)%1",
"S=cos(arg(2*Z*Z+2*Z+2))",
"B= 0.5",
"T=1.0"],
"Name": "Dream",
"Noise": ""
}
},
{
"Param4D_C": {
"Description": ["Complex_Saddle by Abderrahman Taha 28/04/2021"],
"Component": ["Saddle"],
"Name": ["Complex4D_Saddle"],
"Fx": ["u"],
"Fy": ["v"],
"Fz": ["real(Z*Z)/2"],
"Fw": ["imag(Z*Z)/2"],
"Umax": ["2"],
"Umin": ["-2"],
"Vmax": ["2"],
"Vmin": ["-2"]
}
},
{
"Name": "Pariso_01", "Name": "Pariso_01",
"ParIso": [ "ParIso": [
{ {
"Param3D": { "Param3D": {
"Description": ["Blobby Torus by Abderrahman Taha 07/10/2019 "], "Description": ["Blobby Torus by Abderrahman Taha 07/10/2019 "],
"Name": ["Blobby_Torus"], "Name": ["Blobby_Torus"],
"Component": ["BlobbyTorus","TwistedTorus"], "Component": ["BlobbyTorus","TwistedTorus"],
"Cnd": ["","(z<0)"], "Cnd": ["","(z<0)"],
"Const": ["N=5","M=16","P=13","k=5","k0=5","k1=5","L=(3/2)", "r0=6","dv=(1/100)","P=5","MM=10"], "Const": ["N=5","M=16","P=13","k=5","k0=5","k1=5","L=(3/2)", "r0=6","dv=(1/100)","P=5","MM=10"],
"Funct": ["G1=(8+(sin(2*(u-v+t+sin(v-u)))+3)*cos(u))*cos(v)" ,"G2=(8+(sin(2*(u-v+t+sin(v-u)))+3)*cos(u))*sin(v)","G3=((sin(2*(u-v+t+sin(v-u)) )+3)*sin(u))","Fx=(1+(1/2)*cos(v+t))*cos(u-k*(v)+t)","Fy=(1+(1/2)*cos(v+t))*sin( u-k*(v)+t)","Fz=L*sin(v+t)","DFxv = (Fx(u,v+dv,t) - Fx(u,v,t))/dv","DFyv = (Fy(u ,v+dv,t) - Fy(u,v,t))/dv","DFzv = (Fz(u,v+dv,t) - Fz(u,v,t))/dv","DFxv2 = (DFxv( u,v+dv,t) - DFxv(u,v,t))/dv","DFyv2 = (DFyv(u,v+dv,t) - DFyv(u,v,t))/dv","DFzv2 = (DFzv(u,v+dv,t) - DFzv(u,v,t))/dv","Rapp = (u/sqrt(u*u+v*v+t*t))","Nx = Rapp(D Fxv2(u,v,t),DFyv2(u,v,t),DFzv2(u,v,t))","Ny = Rapp(DFyv2(u,v,t),DFxv2(u,v,t),DFz v2(u,v,t))","Nz = Rapp(DFzv2(u,v,t),DFyv2(u,v,t),DFxv2(u,v,t))","Bx = 1/sqrt(u*u +v*v+t*t)","Binx = (DFyv(u,v,t) * Nz(u,v,t) - DFzv(u,v,t) * Ny(u,v,t))*Bx(DFxv(u ,v,t), DFyv(u,v,t), DFzv(u,v,t))","Biny = (DFzv(u,v,t) * Nx(u,v,t) - DFxv(u,v,t) * Nz(u,v,t))*Bx(DFxv(u,v,t), DFyv(u,v,t), DFzv(u,v,t))","Binz = (DFxv(u,v,t) * Ny(u,v,t) - DFyv(u,v,t) * Nx(u,v,t))*Bx(DFxv(u,v,t), DFyv(u,v,t), DFzv(u,v,t))", "S = (r0/100)*((k0-1)*cos(u+k1*t) + cos((k0-1)*u+k1*t))","C = (r0/100)*((k0-1)*s in(u+k1*t) - sin((k0-1)*u+k1*t))","Sx = Fx(pi,v,t) + Nx(pi,v,t)*C(u,v,t) + Binx( pi,v,t)*S(u,v,t)","Sy = Fy(pi,v,t) + Ny(pi,v,t)*C(u,v,t) + Biny(pi,v,t)*S(u,v,t) ","Sz = Fz(pi,v,t) + Nz(pi,v,t)*C(u,v,t) + Binz(pi,v,t)*S(u,v,t)"], "Funct": ["G1=(8+(sin(2*(u-v+t+sin(v-u)))+3)*cos(u))*cos(v)" ,"G2=(8+(sin(2*(u-v+t+sin(v-u)))+3)*cos(u))*sin(v)","G3=((sin(2*(u-v+t+sin(v-u)) )+3)*sin(u))","Fx=(1+(1/2)*cos(v+t))*cos(u-k*(v)+t)","Fy=(1+(1/2)*cos(v+t))*sin( u-k*(v)+t)","Fz=L*sin(v+t)","DFxv = (Fx(u,v+dv,t) - Fx(u,v,t))/dv","DFyv = (Fy(u ,v+dv,t) - Fy(u,v,t))/dv","DFzv = (Fz(u,v+dv,t) - Fz(u,v,t))/dv","DFxv2 = (DFxv( u,v+dv,t) - DFxv(u,v,t))/dv","DFyv2 = (DFyv(u,v+dv,t) - DFyv(u,v,t))/dv","DFzv2 = (DFzv(u,v+dv,t) - DFzv(u,v,t))/dv","Rapp = (u/sqrt(u*u+v*v+t*t))","Nx = Rapp(D Fxv2(u,v,t),DFyv2(u,v,t),DFzv2(u,v,t))","Ny = Rapp(DFyv2(u,v,t),DFxv2(u,v,t),DFz v2(u,v,t))","Nz = Rapp(DFzv2(u,v,t),DFyv2(u,v,t),DFxv2(u,v,t))","Bx = 1/sqrt(u*u +v*v+t*t)","Binx = (DFyv(u,v,t) * Nz(u,v,t) - DFzv(u,v,t) * Ny(u,v,t))*Bx(DFxv(u ,v,t), DFyv(u,v,t), DFzv(u,v,t))","Biny = (DFzv(u,v,t) * Nx(u,v,t) - DFxv(u,v,t) * Nz(u,v,t))*Bx(DFxv(u,v,t), DFyv(u,v,t), DFzv(u,v,t))","Binz = (DFxv(u,v,t) * Ny(u,v,t) - DFyv(u,v,t) * Nx(u,v,t))*Bx(DFxv(u,v,t), DFyv(u,v,t), DFzv(u,v,t))", "S = (r0/100)*((k0-1)*cos(u+k1*t) + cos((k0-1)*u+k1*t))","C = (r0/100)*((k0-1)*s in(u+k1*t) - sin((k0-1)*u+k1*t))","Sx = Fx(pi,v,t) + Nx(pi,v,t)*C(u,v,t) + Binx( pi,v,t)*S(u,v,t)","Sy = Fy(pi,v,t) + Ny(pi,v,t)*C(u,v,t) + Biny(pi,v,t)*S(u,v,t) ","Sz = Fz(pi,v,t) + Nz(pi,v,t)*C(u,v,t) + Binz(pi,v,t)*S(u,v,t)"],
"Fx": ["-(1/2)*G1(u,v,t)+12","(5/3)*Sx(u,v,t/4)-10"], "Fx": ["-(1/2)*G1(u,v,t)+12","(5/3)*Sx(u,v,t/4)-10"],
"Fy": ["(1/2)*G2(u,v,t)-5","(5/3)*Sy(u,v,t/4)-5"], "Fy": ["(1/2)*G2(u,v,t)-5","(5/3)*Sy(u,v,t/4)-5"],
 End of changes. 2 change blocks. 
0 lines changed or deleted 81 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)