stock


store

Principle
audio
device
mouse
particle
See also

Principle

Objects of type stock can store, process, replay, interpret, save some captures.

Syntax

stock(id)T;
Declares object stock of type T and identifier id.

Options:

dim(dimp): size of the vectors (3 default).
time(np): reserving np (250 default) vectors of dimension dimp.
stock(1)mouse time(0): initialization.
Types currently implemented are:
       audio
       device

       mouse

stock audio

stock(num)audio(id)

Returns the vector num of the property stock of audio id.

stock audio(id)name("nnn")

Generates and writes in file nnn.stock the property stock of audio id.

stock device

stock device(ip)

Stock vectors of device ip with options.

stock mouse

stock mouse

Stock positions of the mouse with options.
Particular options:
displ: shows the trace of the mouse.
dist(d): minimum input distance (2 default).
limit(x1,y1,x2,y2): restricts input into the window (x1,y1,x2,y2).
mouse(s): input mod:
       s=0: continuous left click.
       s=1: click left.
       s=2: continuous.

stock particle

ang
axis
force
normal
particle
speed

stock ang

stocks property ang of a volume type particle.

stock axis

stocks property axis of a volume type particle.

stock force

stocks property force of a volume type particle.

stock normal

stocks property normal of a volume type particle.

stock particle

stocks property particle of a volume type particle.

stock speed

stocks property speed of a volume type particle.

See also:

acc stock
audio stock
displ stock
write stock
edit stock
end stock
generate stock
ini stock
interaction stock
smooth stock
no stock
yes stock
play stock
validate stock
speed stock