Puoi aprire il codice e modificarlo
HELP
...
aX = -3; bX = 3; aY = -3; bY = 3
Dx = 1; Dy = 1
titolo = "r = 1/(1+e*cos(t)), e=1 (blu), e=2 (rosso), e=1/2 (verde)"
...
C0="blue"; C1="red"; C2="green"
n=5000; H = 2*Math.PI/n
e=1
for(i=0;i<=n; i=i+1) { t = H*i
L0x[i]= 1/(1+e*Math.cos(t))*Math.cos(t)
L0y[i]= 1/(1+e*Math.cos(t))*Math.sin(t) }
e=2
for(i=0;i<=n; i=i+1) { t = H*i
L1x[i]= 1/(1+e*Math.cos(t))*Math.cos(t)
L1y[i]= 1/(1+e*Math.cos(t))*Math.sin(t) }
e=1/2
for(i=0;i<=n; i=i+1) { t = H*i
L2x[i]= 1/(1+e*Math.cos(t))*Math.cos(t)
L2y[i]= 1/(1+e*Math.cos(t))*Math.sin(t) }
...