GENERAL DESCRIPTION OF ANYFLO |
1: screen ecr
screen
and ecr
are two names for the same command (clear screen).
screen;
screen(r,g,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,g,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")
builds the object name obj1 and 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);
: displacement.
rota(.25*PI)matrix vol(1);axis(1,-1,1)matrix vol(1);
: rotation around axis (1,-1,1).
dila(1,2.5,-1)matrix vol(1);
:y dilatation and z symmetry.
T(p)vol(id);
all vertices.
T(p)vertex(s)vol(id);
only vertices 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)
:
In interaction mode, the extension of volume id will be recalculated before
each display (useful if the volume is deformable).