π¦ CR Checker Pattern
Generate a checkerboard image, two colors your call
- IMAGE
- show_help
Sometimes you just need a checkerboard. A transparency-style backdrop, a test pattern to check tiling or alignment, a base to run a ControlNet or img2img pass over, a graphic element for a layout. This node draws one to whatever size and colors you want, no image editor round-trip.
It's one of the pattern generators in Comfyroll Studio (Suzie1 / RockOfFire) - a section full of these procedural-image nodes: color bars, gradients, starbursts, halftone grids. They're all cut from the same cloth: pick dimensions and colors, get an image out.
How it works
Straight procedural drawing with Pillow. You give it a canvas size and two colors, it tiles a grid of alternating squares across it. No model, no randomness, no generation - same inputs give you the same board every time, and it renders instantly.
The inputs that matter
width/height- the output size in pixels (up to 4096). Match this to whatever you're feeding it into.color_1/color_2- the two square colors. 30 named presets each, pluscustom. Same rule as the rest of Comfyroll's graphics nodes: choosingcustompulls the color from the matching hex box (color1_hex/color2_hex), which default to black - so set the hex or you'll get two black squares, i.e. a solid black image.grid_frequency(default 8) - how many squares across. This is the density dial: low numbers give you big chunky tiles, high numbers a fine grid.mode-regularfor a standard even checkerboard, orstepped, which uses thestepvalue to vary the pattern into a more staggered/graduated look. Leave it onregularunless you specifically want the stepped variant.
Output is IMAGE, plus the show_help wiki link you can leave dangling.
How to install it
- ComfyUI Manager: search
Comfyroll Studio, install, restart. - Manual:
cd ComfyUI/custom_nodes && git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes.git, then restart.
No downloads. It's a Pillow-based node, and Pillow ships with ComfyUI.
Common issues
The one real gotcha isn't in the settings - it's the pack failing to register. If the pattern nodes are missing and the log shows Comfyroll Studio: Failed to load Graphics nodes, that's a broken Pillow install (common on fresh Python 3.12 setups), not a bug in this node. Reinstall Pillow to match your Python and reinstall the pack.
The other "problem" is self-inflicted: a solid-color output almost always means you left one or both colors on custom without filling the hex field. And if the board looks like a blurry gray haze at a distance, grid_frequency is cranked so high the squares are sub-pixel - dial it back down until the tiles are the size you actually want.
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| mode | COMBO | 2 options: regular, stepped | |
| width | INT | 51264β4096 | β |
| height | INT | 51264β4096 | β |
| color_1 | COMBO | 30 options: custom, white, black, red, green, blue, +24 | |
| color_2 | COMBO | 30 options: custom, white, black, red, green, blue, +24 | |
| grid_frequency | INT | 81β200 | β |
| step | INT | 22β200 | β |
| color1_hexopt | STRING | #000000 | β |
| color2_hexopt | STRING | #000000 | β |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | β |
| show_help | STRING | β |