The Pebble GameThe 2D Pebble Game software can be run interactively using a Java applet and web service. Alternatively, you may download the following software versions as full Fortran code distributions: the 2D Pebble Game for central forces, the 3D Pebble Game with central forces and angular constraints, and the 3D pebble game without angular constraints. Instructions and examples can be found inside the compressed files, enjoy!
BackgroundThe Pebble Game  is based on the theorem of Laman . The implementation of Laman's theorem using the Pebble Game gives a complete and exact solution in 2D. The input is a set of distance constraints - the precise lengths are irrelevant, although they are fixed for convenience. This is a topological theorem, and the actual geometry is irrelevant, although useful in making plots to visualize the results etc. In 2D, two pebbles are associated with each site to represent the 2 degrees of freedom of a point, and then the Pebble Game moves these pebbles around, following Laman's theorem, to do a local count correctly as free pebbles (not associated with a constraint) are placed upon the line that represents the constraint, to show that it is an independent constraint. A constraint is independent if two free pebbles can be found at the ends of that constraint after an exhaustive search, otherwise it is dependent and the constraint is referred to as redundant. An interactive applet demonstration is available to demonstrate how the pebbles are moved. The user can input sites and then add constraints one at a time. It is recommended working through such an example with about 8 sites to better understand the procedure. The rigid regions are colored in red, and redundant bonds are not covered by pebbles. The number of floppy modes of the network is given by the number of free pebbles minus the 3 macroscopic modes. The interactive version of the 2D pebble game has multiple input options for the data files and multiple outputs that can be displayed as required for the particular project. This is an exact algorithm. The rigid region decomposition, the stressed and unstressed regions and the flexible joints between then are unique. A stressed region contains one or more redundant constraints, whose position is completely arbitrary within the region. Further details can be found in references [3-5].
Files available for downloadA good place to start after reading the papers referenced below is with a demonstration of the pebble game that can be downloaded here as a power point presentation. The presentation, created by Mykyta Chubynsky, demonstrates the pebble game algorithm for a 2D network of six points and nine edges. The resulting graph has one flexible region and one overconstrained region. This presentation complements the Interactive 2D Pebble Game applet available via the Pebble Game menu.