Puoi aprire il codice e modificare la funzione: vedi l'Help
You can open the Code and modify the function: see the Help
HELP

function f(x) { y = 1/0; return y }

aX = -1; bX = 2.2; aY = -1.2; bY = 1.2
Dx = 0; Dy = 0

Cax="white"; Cgr="white"
Lx=[];Ly=[]; L1x=[];L1y=[];L2x=[];L2y=[];L3x=[];L3y=[];L4x=[];L4y=[];L5x=[];L5y=[];L6x=[];L6y=[];L7x=[];L7y=[];L8x=[];L8y=[];L9x=[];L9y=[]
L5x=[1.3,1.6,1.6,1.3,1.3];  L5y=[0.5,0.5,0.8,0.8,0.5]
L6x=[1.3,1.6,1.6,1.3,1.3];  L6y=[0.1,0.1,0.4,0.4,0.1]
L7x=[1.3,1.6,1.6,1.3,1.3];  L7y=[-0.3,-0.3,0,0,-0.3]
L8x=[0.48,1.5]; L8y=[-0.3,-0.7]
C8="red"

R=1; P=0;Q=0; gr1=0;gr2=120
 function XX1(t) {x=Math.cos(t)*R+P; if(Ix(x)<1){x=1/0}; return x}
 function YY1(t) {y=Math.sin(t)*R+Q; if(Ix(x)<1){x=1/0}; return y}; t11=Math.PI/180*gr1; t12=Math.PI/180*gr2
 for(j=0;j<=5e3;j=j+1) {t=t11+(t12-t11)/5e3*(j-1);L1x[j]=XX1(t);L1y[j]=YY1(t)}
 L1x[5e3+1]=0; L1y[5e3+1]=0; L1x[5e3+2]=L1x[0]; L1y[5e3+2]=L1y[0]
R=1; P=0;Q=0; gr1=120;gr2=240
 function XX2(t) {x=Math.cos(t)*R+P; if(Ix(x)<1){x=1/0}; return x}
 function YY2(t) {y=Math.sin(t)*R+Q; if(Ix(x)<1){x=1/0}; return y}; t21=Math.PI/180*gr1; t22=Math.PI/180*gr2
 for(j=0;j<=5e3;j=j+1) {t=t21+(t22-t21)/5e3*(j-1);L2x[j]=XX2(t);L2y[j]=YY2(t)}
 L2x[5e3+1]=0; L2y[5e3+1]=0; L2x[5e3+2]=L2x[0]; L2y[5e3+2]=L2y[0]
R=1; P=0;Q=0; gr1=240;gr2=360
 function XX3(t) {x=Math.cos(t)*R+P; if(Ix(x)<1){x=1/0}; return x}
 function YY3(t) {y=Math.sin(t)*R+Q; if(Ix(x)<1){x=1/0}; return y}; t31=Math.PI/180*gr1; t32=Math.PI/180*gr2
 for(j=0;j<=5e3;j=j+1) {t=t31+(t32-t31)/5e3*(j-1);L3x[j]=XX3(t);L3y[j]=YY3(t)}
 L3x[5e3+1]=0; L3y[5e3+1]=0; L3x[5e3+2]=L3x[0]; L3y[5e3+2]=L3y[0]
R=0.55; P=0;Q=0; gr1=0;gr2=360
 function XX4(t) {x=Math.cos(t)*R+P; if(Ix(x)<1){x=1/0}; return x}
 function YY4(t) {y=Math.sin(t)*R+Q; if(Ix(x)<1){x=1/0}; return y}; t41=Math.PI/180*gr1; t42=Math.PI/180*gr2
 for(j=0;j<=5e3;j=j+1) {t=t41+(t42-t41)/5e3*(j-1);L4x[j]=XX4(t);L4y[j]=YY4(t)}
 L4x[5e3+1]=0; L4y[5e3+1]=0; L4x[5e3+2]=L4x[0]; L4y[5e3+2]=L4y[0]

AX=BX=AY=BY=""

T0=["Europa",2.06,0.65]; T1=["Asia",1.95,0.25]; T2=["Africa",2.03,-0.15]; T3=["paesi mediterranei",1.65,-0.85]
T4=["A",0.3,0.7]; T5=["B",0.2,0.25]; T6=["C",-0.75,0]; T7=["D",-0.3,0]; T8=["E",0.3,-0.7]; T9=["F",0.15,-0.25]

Co1="pink"; Co2="cyan"; Co3="lightgreen"; Co5="pink"; Co6="cyan"; Co7="lightgreen"