Quite often, the
movement of a certain object should not extend over the whole duration of
the movie. Typical examples are Feynman
diagrams. This behaviour can be controlled with the interval
option as follows: By default, the movie starts at time 0 and ends at time
100. The option interval specifies the so-called active
interval, that is the time slot in which an object should evolve from
its start to its end. By default, the interval covers the duration of the
whole movie. The two other important options in this respect are
bethere and staythere. If bethere is 1/0, the
object will/not be visible before its active interval; if staythere
is 1/0, it will/not be visible after its active interval.
line({"type" => "line",
"color" => "Red",
"foot" => [[-100,0]],
"head" => [[-100,0],[-100,0]],
"hpolar" => [[100,-30],[100,0]],
"interval" => [0,30],
"staythere" => 1
});
point({
"color" => "Black",
"coordinates" => [[0,0],[0,70]],
"interval" => [30,100],
"bethere" => 1
});
|
|