Andrea Mantler
The Demo Plugin is designed to work with KING (Kinemage, Next Generation), an interactive system for three-dimensional vector graphics. Demo Plugin is a simple plugin that illustrates how to write a plugin for KING. For more information, see Hacking KING.
Clicking on the button generates new random data, which is sent to KING to be displayed. The kinemage is reused, but new groups (and subgroups) are created to hold the "ball" and "vector" lists. The ball list contains 0-9 balls, and the vector list contains 0-9 polylines, each of length 1-10 segments.
Note that each kinemage can contain multiple groups, each group can contain multiple subgroups, each subgroup can contain multiple lists, and each list can contain multiple elements. KING can also have multiple kinemages in the "stable", however, only one is displayed at a time.