Init
The original BallDrop Applet by Dave Krider has been updated in order to support data connections to Physlets. The galton.BallDrop applet provides the following data source variables to data listeners, such as the DataGraph Physlet show above.
The following embedding parameters are defined:
| Parameter | Value | Description |
|---|---|---|
| BallImage | smallball.gif | The ball image. |
| PinImage | smallpin.gif | The pin image |
| NumRows | 8 | Number of rows on the board. |
| NumColumns | 20 | Number of columns on the board. |
| NumBalls | 5 | Number of balls on the board at any time. |
The galton board has a single data source, the applet itself.
| Object | Identifier | Variables |
|---|---|---|
| applet | id=getID() | t, n, mean, std |