NGs Image - Checkerboard Generator
The transparency-grid pattern as its own node
- images
That grey-and-white grid every image editor uses to represent transparency - this node draws it as an actual image, in whatever two colors you want. The README's blurb: "Create precise pixel art with this checkerboard template generator." Reach for it as a placeholder or test pattern, as a background you can drop behind a transparent subject so you can actually see whether your alpha channel is doing what you think, or just as a quick tileable pattern for testing crop/tile/resize nodes without loading a real photo.
How it works
It divides a width × height canvas into a tiles × tiles grid and alternates two colors square by square, checkerboard-style.
The inputs and outputs that matter
width,height- canvas size.tiles- default 32, how many squares across. Higher relative to width/height means smaller individual squares.color1,color2- hex ARGB strings, default black and white.mode-RGBorRGBA.
Output is images (IMAGE).
Sits in the same family as NGs Create Solid Color and NGs Fill with Color - all three are pure-generation image nodes with no input image required, useful for the "I need something here before the real pipeline is built" moments that come up constantly while you're still assembling a graph. The checkerboard specifically earns its place over a flat color whenever the thing you're testing depends on structure - a resize or crop node is much easier to verify visually against a grid than a flat fill, since any distortion, stretching, or misalignment shows up immediately as bent or uneven squares.
How to install it
ComfyUI Manager: search "NeoGriever," install, restart. Manual:
cd ComfyUI/custom_nodes
git clone https://github.com/NeoGriever/ComfyUI-NeoGriever
then restart. No dependencies, no model downloads - like the rest of this pack, it's ready the moment ComfyUI picks up the folder.
Common issues & troubleshooting
Squares aren't perfectly even. tiles doesn't have to divide evenly into width or height - if it doesn't, expect the last row or column of squares to come out a different size rather than an error. If you need a mathematically clean grid, pick a tiles count that actually divides both dimensions.
Colors look wrong. Same gotcha as this pack's other color-input nodes: color1/color2 are 8-character ARGB hex strings, not plain 6-character RGB. Get the channel order backwards and you'll get an unexpectedly transparent or off-hue square instead of the color you meant.
Wanted a live transparency preview instead. This node generates a checkerboard pattern - it doesn't inspect an existing image's actual alpha channel and show you where it's transparent. If that's what you're after, you'd composite your real image over this node's output (in RGBA mode) rather than expect this node to analyze anything for you.
That covers the whole node - it's simple by design, and there's not much else to know.
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| width | INT | 5121–16384 | — |
| height | INT | 5121–16384 | — |
| tiles | INT | 322–512 | — |
| color1 | STRING | #000000FF | — |
| color2 | STRING | #FFFFFFFF | — |
| mode | COMBO | RGB | 2 options: RGB, RGBA |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | — |