# polygon

Filled convex polygon (parallelograms, triangular faces, etc.).

```json
{"type":"polygon","vertices":[[0,0,0],[2,0,0],[2,2,0],[0,2,0]],"color":"#4466aa","opacity":0.3}
```

| Field | Default | Description |
|-------|---------|-------------|
| `vertices` | required | Array of `[x,y,z]` data-space positions |
| `color` | required | Hex or `[r,g,b]` |
| `opacity` | `1` | 0–1 |
