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 ROTx(x,y,A) {AA = A*Math.PI/180; return x*Math.cos(AA)-y*Math.sin(AA)} function ROTy(x,y,A) {AA = A*Math.PI/180; return x*Math.sin(AA)+y*Math.cos(AA)} aX = -4; bX = 4; aY = -4; bY = 4 Dx = 1; Dy = 1 C1="orange"; L1x=[-4,4,0,-4,4]; L1y=[-4,4,0,4,-4] t1=-6; t2=6 C2="blue" A=45; for(j=0;j<=5e3;j=j+1) { t=t1+(t2-t1)/5e3*(j-1); L2x[j]=ROTx(t,1/t,A); L2y[j]=ROTy(t,1/t,A) } C3="green" A=45; for(j=0;j<=5e3;j=j+1) { t=t1+(t2-t1)/5e3*(j-1); L3x[j]=ROTx(t,1/t,A); L3y[j]=ROTy(t,1/t,A)*75/100 }