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 = -10; bX = 10; aY = -5; bY = 10
Dx = 1; Dy = 1
...
xx=[-5,5]; yy=[5]
C1="red"; C2="green"; C3="orange"; C4="brown"; C5="magenta"; C6="black"; C7="grey"; C8="cyan"
Lx=[-2,-4,-3,-4,-2,-2]; Ly=[1,1,2,4,3,1]
// blue -> red: translation
L1x=[-2+10,-4+10,-3+10,-4+10,-2+10,-2+10]; L1y=[1-3,1-3,2-3,4-3,3-3,1-3]
// blue -> green: symmetry with respect to the y axis
L2x=[2,4,3,4,2,2]; L2y=Ly
// blue -> orange: scale with ratio 2 + translation
L3x=[-2*2-1,-4*2-1,-3*2-1,-4*2-1,-2*2-1,-2*2-1]; L3y=[1*2,1*2,2*2,4*2,3*2,1*2]
// blue -> brown: symmetry with respect to (0,0)
L4x=[2,4,3,4,2,2]; L4y=[-1,-1,-2,-4,-3,-1]
// blue -> magenta: scale with different ratios + symmetry with respect y axis + translation
L5x=[2*2,4*2,3*2,4*2,2*2,2*2]; L5y=[1+5,1+5,2+5,4+5,3+5,1+5]
// blue -> black: shear mapping in the y direction with share angle of 45° (see)
KK=Math.tan(-45*Math.PI/180)
L6x=Lx; L6y=[1+(-2*KK),1+(-4*KK),2+(-3*KK),4+(-4*KK),3+(-2*KK),1+(-2*KK)]
// blue -> grey: shear mapping in the x direction with share angle of 60°
HH=Math.tan(60*Math.PI/180)
L7x=[-2+1*HH,-4+1*HH,-3+2*HH,-4+4*HH,-2+3*HH,-2+1*HH]; L7y=Ly
// blue -> cyan: symmetry with respect to the x axis
L8x=Lx; L8y=[-1,-1,-2,-4,-3,-1]