Nodes/Comfyroll Studio/🟦 CR Checker Pattern
ComfyUI Node Runs on cloud

🟦 CR Checker Pattern

Generate a checkerboard image, two colors your call

By Suzie1Β·Created 3 years agoΒ·Updated 2 years agoΒ· 1,296
🟦 CR Checker Pattern
    • IMAGE
    • show_help
    β—„modeβ–Ύβ–Ί
    β—„width512β–Ί
    β—„height512β–Ί
    β—„color_1β–Ύβ–Ί
    β—„color_2β–Ύβ–Ί
    β—„grid_frequency8β–Ί
    β—„step2β–Ί
    β—„color1_hex#000000β–Ί
    β—„color2_hex#000000β–Ί

    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, plus custom. Same rule as the rest of Comfyroll's graphics nodes: choosing custom pulls 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 - regular for a standard even checkerboard, or stepped, which uses the step value to vary the pattern into a more staggered/graduated look. Leave it on regular unless 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.

    Category🧩 Comfyroll Studio/πŸ‘Ύ Graphics/🌈 Pattern

    Inputs (9)

    NameTypeDefaultDescription
    modeCOMBO2 options: regular, stepped
    widthINT51264–4096β€”
    heightINT51264–4096β€”
    color_1COMBO30 options: custom, white, black, red, green, blue, +24
    color_2COMBO30 options: custom, white, black, red, green, blue, +24
    grid_frequencyINT81–200β€”
    stepINT22–200β€”
    color1_hexoptSTRING#000000β€”
    color2_hexoptSTRING#000000β€”

    Outputs (2)

    NameTypeDescription
    IMAGEIMAGEβ€”
    show_helpSTRINGβ€”