reproducible random
alea
alea(n)
Returns the value (between 0.0 and 1.0) of the random array index n.
alea(n)=val
Modifies the indice n of random table with value val.
Example:
alea [0,100]=[0,1,.01]
: Fills the first 101 random values with: 0,0.01,0.02, ..., 1.
Comments:
1) Another set is obtained by ini alea.
2) An array of random reproducible given dimension is obtained with n ini alea(n);
.
alea anc
Returns the origin of reproducible random.
alea anc=v
Modifies the original (which is in the circular switch from random v): To obtain reproducible random number lists.
alea image
alea(cr,cv,cb)image(id)
disrupts the image id by a random reproducible (cr,cv,cb).
alea (c)center(x,y)image(id)
disrupts the image id by a random reproducible (cr)
ranging from 1 to 0 at center to the edges.
Options:
anc: makes reproducible random (read aleas in the table aleas).
Comment: if too large periodicity appears, you can increase the size of the stored random by
command ini alea(dim).
??? A FAIRE ???
alea image(id)back(r,v,b) coe(c)
Can process the image id into a fuzzy fog.
Comments:
1) Pixels of the color (r, g, b) will be randomly generated on image id.
2)(r,v,b) = current color of background.
3) Useful to generate a transparent texture mapping.
alea(cr,cv,cb)anc image(id)
Same process as the command alea image, but the sound effects are reproducible from random precomputed table.
See also:
alex image
aley image
principle:
1) Commande alea back image randomly degrades the image with the background color.
2) Volume texture(id,2,cr,cv,cb,1) will be made fuzzy.
3) In animation, this texture can change by putting a texture mobile : (id,type,cr,cv,cb,1,mobx,moby)
Comment:
If too much periodicity appears, you can increase the size of the stored random by command
ini alea dim.
alea law
alea(c)law(num)network(id)
Disturbs by c (1 default) law num (all by default)
of network id.
alea(c)law(num)motif(num)network(id)
Disturbs by c (1 default) law num and motif (all by default)
of network id.
alea motif
alea(c)motif(num)network(id)
Disturbs by c (1 default) motif num (all by default)
of network id.
alea(c)motif(num)law(num)network(id)
Disturbs by c (1 default) law num (all by default)
of network id.
Comment:
It may be useful to desturb laws and motifs of a network to improve convergence.
alea obj
alea(cx,cy,cz)obj(id)
Disturbs in a random reproducible amplitudes (cx, cy, cz) coordinates of the vertices of the object obj id.
alea(cx,cy,cz)anc obj(id)
Disturbs in a random reproducible amplitudes (cx, cy, cz) coordinates of the vertices of the object obj id.
Comment:
You can get another random reproducible by ini alea.
See also: