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

Q1=1.773594; Q2=1.692812;  R1=0.818406; R2=3.603188
function f(x) { y = (x-2)*(Q2-3)/(Q1-2)+3; return y }
function g(x) { y = (x-2)*(R2-3)/(R1-2)+3; return y }

aX = -2; bX = 2.5; aY = -0.5; bY = 4
Dx = 1/2; Dy = 1/2

Q1x=[0]; Q1y=[2]; Qx=[2,Q1,R1]; Qy=[3,Q2,R2]
C2="red"; L2x=[R1,0,Q1]; L2y=[R2,2,Q2]
C1="magenta"

R=1.8; P=0; Q=2; gr1=0;gr2=360
 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}; t1=Math.PI/180*gr1; t2=Math.PI/180*gr2
 for(j=0;j<=5e3;j=j+1) {t=t1+(t2-t1)/5e3*(j-1);L1x[j]=XX1(t);L1y[j]=YY1(t)}

AX=BX=AY=BY=""
AAX="-2"; BBX="2.5"; AAY="-0.5"; BBY="4"