The parameters for any number of points may be specified as applet parameter for example:
|
This instance of the applet has two point (each specified by eight
numbers) separated by a bar (|). The both points are centred at (0,0), the middle of the view window. The first point moves side to side as the x amplitude is 300 and the y amplitude is 0. The second point moves up and down. Note that the horizontal point moves twice as fast as the vertical one, it's angular velocity is 4 not 2. |
| Parameter Name | Notes | Default value |
|---|---|---|
| bgcolor | A 6 digit hex number giving the RGB colour of the background | FFFFFF |
| fgcolor | A 6 digit hex number giving the RGB colour of the foreground | 000000 |
| shm | A number of points, each sepcified by 8 or 9 numbers each point separated by a bar |. | |
| shmsource | The URL of a file containing the points data. The format of this data file is slightly different to the above. Each point must be given by a line of data (eight or nine number separated by spaces). Line starting with # are ignored. | |
| fps | Frames Per Second - controls the attempted speed of animation | 10 |
| squareWidth | The size of the circle which is draw for each point. | 2 |
| squish | true or false. If squish is on the coordinates are mapped to an 800x600 rectangle with (0,0) at the centre of the window. | true |
| Value | Meaning |
|---|---|
| 0 | Plot a circle. |
| 1 | Plot a line from the previous position. |
| 2 | Move to this point without ploting anything. |