Fichier ex11.mp (figure 1) — Modifié le 3 Août 2008 à 07 h 09

ex11.mp (figure 1)
Source

input mp-solid

arcenciel:=true;

%40"
figureespace(-10u,-10u,10u,10u);
Initialisation(1000,45,90,50);
draw Tuben("((2+cos(2.75*t))*cos(t),(2+cos(2.75*t))*sin(t),sin(2.75*t))","(-2.75*cos(t)*sin(2.75*t)-sin(t)*cos(2.75*t),-2.75*sin(t)*sin(2.75*t)+cos(t)*cos(2.75*t),2.75*cos(2.75*t))",0.1,0,402,0.063);
finespace;
end