disque
disk
disk
Fills the disk center (0,0) radius 12 and 36 sides.
Options:
alea(c): random particles (reproducible) of density c.
col(r,v,b): in color (r,v,b) (white default).
col(r1,v1,b1,r2,v2,b2): degraded colors [r1,v1,b1] (center) to [r2,v2,b2] (edge).
illum(c): c=1 (default): fill, c=0 (wire).
mouse(m): returns 1 if click inside, else returns 0.
poi(x,y): center x,y (0,0 default).
precision(p): sides number (0.5*PI*radius default).
radius(rx,ry): radius rx,ry (rx=ry=12 default).
rand(c): random particles (not reproducible) of density c.
transp(t): transparency.
transp(t1,t2): transparency form t1 (center) to t2 (edge).
disk image
image(id)
writes the disk in the image id with the options.
disk vertex vol
disk vertex(s) vol(id)
Returns the parameters of the property ´disk vertex vol´ of the vertex s of the volume id
if its type is particule.
disk vertex(s) vol(id)=ray,t,b
Changes these parameters.
Notes:
1) The vertex s of Volume id will be replaced by a disk of radius ray,
transparency t (between 0 and 1) and blur b (number of pixels).
2) If transp is absent, the disk is opaque.
3) If blur is absent, the disk is not noisy.
disk vol
disk vol(id)
Returns the parameters of the property ´disk vol´ of volume id
if its type is particule.
disk vol(num)=ray,t,b
Change these parameters.
Notes:
1) Each vertex of the volume id is replaced by a disk of radius ray,
transparency t (between 0 and 1) and blur b (between 0 and 1).
2) If transp is absent, the disk is opaque.
3) If blur is absent, the disk is not noisy.
4) With generate particle vol(id1)vol(id2)
disk vol(id2)=d1,d2,a1,a2 makes it possible to vary the size of the disks as
a function of the depth.