LZR File Format

The Laser (LZR) is an XML based file format for storing laser shows. LaserLine is to use this as its native format.

Why XML?

XML was choosen for all the usual reasons, chief among them being: ease of use, portability, and extensibility.

XML Schema

Below are proposed XML elements for the LZR format:

  • <show>: Root element.
  • <track>: Container which could hold frames/audio/DMX/etc.
  • <frame>: Container, all children elements are grouped into a single laser frame.
  • <group>: Container to group several elements together.
  • <point>: A single point, with x,y, and color attributes.
  • <pointSet>: A container for storing large sets of points.
  • <rect>: A rectangle with x, y, height, and width attributes.
  • <ellipse>: An ellipse with x, y, height, and width attributes.
  • <text>: Container with font, x, y, height, and width attributes which define the bounding box for the contained text.
  • <image>: Container for an image has x, y, height, and width attributes.