interval

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: The movie is always 100 time units (let's call them axiseconds) long. 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.

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
	});
main