Keywords: king-manual

# The KING manual

## Demo Plugin Supplement

Andrea Mantler

### Abstract:

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.

## Contents

- 1. Functionality

# 1. Functionality

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.