i_overlay 6.0.0

Boolean Operations for 2D Polygons: Supports intersection, union, difference, xor, and self-intersections for all polygon varieties.
Documentation
{
  "fillRule": 1,
  "subjPaths": [
    [[0, 0], [3, 3], [6, 0]],
    [[0, 0], [3,-3], [0,-6]],
    [[3,-3], [6, 0], [6,-6]],
    [[3,-3], [5,-4], [5,-2]]
  ],
  "clipPaths": [],
  "subject": [[
    [
      [[0, -6], [0, 0], [3, -3]]
    ],
    [
      [[0, 0], [3, 3], [6, 0]]
    ],
    [
      [[3, -3], [6, 0], [6, -6]],
      [[5, -2], [3, -3], [5, -4]]
    ]
  ]],
  "clip": [[]],
  "union": [[
    [
      [[0, -6], [0, 0], [3, -3]]
    ],
    [
      [[0, 0], [3, 3], [6, 0]]
    ],
    [
      [[3, -3], [6, 0], [6, -6]],
      [[5, -2], [3, -3], [5, -4]]
    ]
  ]],
  "intersect": [[]],
  "difference": [[
    [
      [[0, -6], [0, 0], [3, -3]]
    ],
    [
      [[0, 0], [3, 3], [6, 0]]
    ],
    [
      [[3, -3], [6, 0], [6, -6]],
      [[5, -2], [3, -3], [5, -4]]
    ]
  ]],
  "inverseDifference": [[]],
  "xor": [[
    [
      [[0, -6], [0, 0], [3, -3]]
    ],
    [
      [[0, 0], [3, 3], [6, 0]]
    ],
    [
      [[3, -3], [6, 0], [6, -6]],
      [[5, -2], [3, -3], [5, -4]]
    ]
  ]]
}