# CheckerBoard2

> Checker test pattern.

| Node | CheckerBoard2 |
|---|---|
| Menu | Draw › CheckerBoard |
| **Names in each format** | |
| .oink comp (JSON) | `"type": "OC_N_checkerboard"` |
| .nk script | `CheckerBoard2`, also imports `CheckerBoard` ([how .nk import works](/docs/nuke-users/nk-import)) |
| Python | `nuke.createNode("CheckerBoard2")` |
| Assistant (MCP) | `create_node(type="CheckerBoard2")` |
| Tab search | `checkerboard2`, or its initials `cb2` |

![CheckerBoard2 properties](/shots/nodes/checkerboard@2x.webp)

## Inputs and outputs

| Port | Name | Type |
|---|---|---|
| output 0 | Image | image |

## Knobs

Panel tab **Checkerboard**, in panel order.

| Knob | Label | Type | Default | Range / values | .nk knob | Description |
|---|---|---|---|---|---|---|
| `boxsize` | boxsize | float | `64` | 1 to 512 | `boxsize` |  |
| `color0` | color0 | colour ×4 | `0.1, 0.1, 0.1, 1` | 0 to 1 | `color0` |  |
| `color1` | color1 | colour ×4 | `0.5, 0.5, 0.5, 1` | 0 to 1 | `color1` |  |
| `color2` | color2 | colour ×4 | `0.1, 0.1, 0.1, 1` | 0 to 1 | `color2` |  |
| `color3` | color3 | colour ×4 | `0.5, 0.5, 0.5, 1` | 0 to 1 | `color3` |  |
| `linecolor` | linecolor | colour ×4 | `1, 1, 0, 1` | 0 to 1 | `linecolor` |  |
| `linewidth` | linewidth | float | `0` | 0 to 20 | `linewidth` |  |
| `centerlinecolor` | centerlinecolor | colour ×4 | `1, 0, 0, 1` | 0 to 1 | `centerlinecolor` |  |
| `centerlinewidth` | centerlinewidth | float | `3` | 0 to 20 | `centerlinewidth` |  |
| `width_prop` | width | float | `1920` | 1 to 8192 (integer) |  |  |
| `height_prop` | height | float | `1080` | 1 to 8192 (integer) |  |  |

### Other knobs (Python, .nk and the assistant; not on the panel)

| Knob | Label | Type | Default | Range / values | .nk knob | Description |
|---|---|---|---|---|---|---|
| `gl_color` | Viewer Controls Color | float ×3 | `0, 0, 0` | 0 to 1 |  |  |
| `postage_stamp_frame` | Static Frame | int | `1` | -2147483648 to 2147483647 |  |  |
| `lifetimeStart` | Lifetime Start | int | `0` | -2147483648 to 2147483647 |  |  |
| `lifetimeEnd` | Lifetime End | int | `100` | -2147483648 to 2147483647 |  |  |
| `useLifetime` | Use Lifetime | boolean | `false` |  |  |  |
| `cached` | Cached | boolean | `false` |  |  |  |
| `bookmark` | Bookmark | boolean | `false` |  |  |  |
| `dope_sheet` | Dope Sheet | boolean | `false` |  |  |  |
| `clone_group` | Clone Group | string |  |  |  |  |
| `link_source` | Link Source | string |  |  |  |  |
| `link_overrides` | Link Overrides | string |  |  |  |  |
| `split_views` | Split Views | string |  |  |  |  |
| `format` | Format | enum | `custom` | custom, HD_1080, HD_720, UHD_4K, 2K_DCP, 4K_DCP, 2K_Super_35, PAL, NTSC, square_1K, square_2K |  |  |


---
Sources: opencomp_core/nodes/color/checkerboard.py, opencomp_electron/src/components/properties/knobSchema.ts, opencomp_core/nk/mapping.py
