{
  "width": 128,
  "height": 64,
  "threshold": 0.1,
  "command": {
    "vert": [
      "precision highp float;",
      "#pragma lines: attribute vec3 xyz",
      "#pragma lines: attribute vec3 color",
      "#pragma lines: position = getPosition(xyz)",
      "#pragma lines: varying vec3 color = getColor(color)",
      "#pragma lines: width = getWidth()",
      "float getWidth() { return 10.0; }",
      "vec3 getColor(vec3 color) { return color; }",
      "vec4 getPosition(vec3 xyz) { return vec4(xyz, 1); }"
    ],
    "frag": [
      "precision lowp float;",
      "varying vec3 color;",
      "void main () {",
      "  gl_FragColor = vec4(color,1);",
      "}"
    ],
    "depth": {
      "enable": true
    }
  },
  "vertexAttributes": {
    "xyz": [
      [-0.6, -0.6, 0.7],
      [0.0, 0.6, 0.7],
      [0.6, -0.6, 0.7],
      [0.6, 0.6, 0.7],
      [0.0, -0.6, 0.7],
      [-0.6, 0.6, -0.7]
    ],
    "color": [
      [0.8,0.2,0.2],
      [0.8,0.2,0.2],
      [0.8,0.2,0.2],
      [0.2,0.2,0.8],
      [0.2,0.2,0.8],
      [0.2,0.2,0.8]
    ]
  },
  "endpointAttributes": {
    "xyz": [
      [
        [-0.6, -0.6, 0.7],
        [0.0, 0.6, 0.7],
        [0.6, -0.6, 0.7]
      ], [
        [-0.6, 0.6, -0.7],
        [0.0, -0.6, 0.7],
        [0.6, 0.6, 0.7]
      ]
    ],
    "color": [
      [
        [0.8,0.2,0.2],
        [0.8,0.2,0.2],
        [0.8,0.2,0.2]
      ], [
        [0.2,0.2,0.8],
        [0.2,0.2,0.8],
        [0.2,0.2,0.8]
      ]
    ]
  },
  "data": {
    "join": "miter",
    "cap": "square"
  }
}
