Introduction Appetizer Examples Documentation Applications
Work plan Points The use of this tool is exemplified in Dots. The configuration panel of POINTS may
have as many lines as desired. Each line defines a point and looks like
this: [u,0]'u='+u:size=3:colour=magenta The configuration of a point is a chain of expressions separated by : which
determine several properties of the point. The configuration line of a point starts with the coordinates of its initial
location in square brackets, for example [-3.2,2.5]. The
initial coordinates may be expressions. Next comes a chain of strings, flanked by single
quotes ' , and numbers or numerical expressions separated from each other by a + sign (see
the documentation of TEXTS for a
detailed description of this feature). This chain of strings and numbers is written on the
screen starting near the point. Another feature that may appear in the configuration line
of a point is the expression size=3 which defines the
radius of the circle signaling the position of the point (in this case the radius would be
3 pixels). An expression colour=magenta, defining the
colour of the point's circle (in this case magenta) may also be present. By default the
radius is 2 and the colour is blue. The following example shows a point P with
coordinates [u,v] that moves when the user changes the
values of the parameters u and v.
There are two more points in the applet, with names u and v, that show the values of the correspondig coordinates of P.
Introduction Appetizer Examples Documentation Applications
Work plan
Ministerio de Educación, Cultura y Deporte. Aņo 2000