DESCRIPTION GÉNÉRALE D´ANYFLO |
1: screen ecr ECR
screen
et ecr
sont 2 noms de la même commande d´effacement de l´écran.
screen;
screen(r,v,b);
alea(10,20,30)vol(1);
cube(1)dim(100,150,200)col(1,0,0);
col vol(1)=1,.8,.4;
interaction("rotxzeye");
poi(3) vol(1);
w=poi(3) vol(1);$w;
poi(3) vol(1)=100,50,0;
col vertex(3) vol(1)=0,1,0;
screen(r,v,b);
alea(20)vol(1);
"AB"
"MOT1 MOT2 MOT3"
1.0
(1,2.5,-1.0,.3)
1,2,3,"ABCD",4,"EF"
cos, sin, log
object("obj1")type("type1")
construit l´objet de nom obj1
et de type type1.
cube(7)dim(100)
ball("B1")radius(100)secy(6)secx(18)
cube(7) dim(200);
col vol(7)=1;
poi(0) vol(7)=0,0,0;
poi(3) vol(1);
col vertex(3) vol(1);
poi(3) vol(1)=100,50,0;
col vertex(3) vol(1)=0,0,1;
col screen vol(1)=1,0,1;
T matrix vol(id)
T(p)matrix vol(id)
tran(100,0,0)matrix vol(1);
: déplacement.
rota(.25*PI)matrix vol(1);axis(1,-1,1)matrix vol(1);
: rotation autour de l´axe (1,-1,1).
dila(1,2.5,-1)matrix vol(1);
: dilatation en y et symétrie en z.
T(p)vol(id);
tous les sommets.
T(p)vertex(s)vol(id);
seulement les sommets s.
tran(100,0,0) vol(1);
rand coe(20)vertex[1,5]vol(1);
attach(0)P(p)vol(id);
attach generate ext vol(id)
:
en mode interaction, l´extension du volume id sera
recalculée avant chaque affichage (utile si le volume id est déformable).