Vispatch Tutorial (using Java 1.02) > TOC > Research Directions > Bootstrapping the Interface > Move Points

Move Points

The simple rules below use the wildcard figure (i.e. a rectangle the same color as the rule) to rewrite a figure at a different position. The top rule changes the location of the primary characteristic point. The bottom rule changes the location of the secondary characteristic point.

 
Notice that the body of each rules has an event figure. This makes the rules recursive so that all figures connected to a moved figure are also moved.