Nodes/Comfyroll Studio/🟧 CR Starburst Colors
ComfyUI Node Runs on cloud

🟧 CR Starburst Colors

A two-tone pinwheel of wedges, not lines

By Suzie1Β·Created 3 years agoΒ·Updated 2 years agoΒ· 1,296
🟧 CR Starburst Colors
    • IMAGE
    • show_help
    β—„width512β–Ί
    β—„height512β–Ί
    β—„num_triangles6β–Ί
    β—„color_1β–Ύβ–Ί
    β—„color_2β–Ύβ–Ί
    β—„center_x0β–Ί
    β—„center_y0β–Ί
    β—„rotation0.00β–Ί
    β—„bbox_factor2.00β–Ί
    β—„color1_hex#000000β–Ί
    β—„color2_hex#000000β–Ί

    Comfyroll has two "starburst" nodes and they draw genuinely different things. CR Starburst Lines draws thin rays radiating from a point - speed lines, comic impact effects. CR Starburst Colors draws solid triangular wedges alternating between two colors, radiating from a center - a pinwheel, or a retro sunburst-sale-sticker graphic. Same family name, different mechanism, and it's an easy mix-up if you're searching the node list by feel.

    How it works

    It's a plain procedural drawing routine - no model, no seed, fully deterministic. Set a canvas size, tell it how many wedges to draw, pick two colors, and it fills the circle with alternating triangles pointing out from the center.

    num_triangles (1–512) sets the wedge count - low numbers give you a bold few-color pie, high numbers pack in enough wedges to read almost as a smooth gradient ring. color_1 and color_2 come from a 30-option named dropdown; pick custom on either and the matching color1_hex / color2_hex field takes over instead. rotation (0–720) spins the whole thing, and bbox_factor (0–2) controls how far each wedge's point reaches relative to the canvas - push it toward 2 for wedges that overshoot the frame edges, pull it down for a tighter, contained pinwheel.

    One thing worth flagging directly from the node's own limits: center_x and center_y only go up to 512, even though width and height go all the way to 4096. On a large canvas you genuinely can't push the center past that 512 ceiling - so if you're building this at, say, 2048Γ—2048 and want it dead-center, you're out of luck with the widget alone; you'd need to composite the output afterward to reposition it. On a default 512Γ—512 canvas this isn't an issue at all.

    The inputs that matter

    • width / height (64–4096) - canvas size.
    • num_triangles (1–512) - wedge count.
    • color_1 / color_2 - the alternating colors, from the 30-name dropdown, or custom paired with color1_hex / color2_hex.
    • center_x / center_y (0–512) - capped well below the max canvas size; see above.
    • rotation (0–720) and bbox_factor (0–2) - spin and reach.

    Output is a single IMAGE, plus show_help.

    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 models, nothing else to download - it's Pillow drawing shapes.

    Common issues

    Custom color not applying. Same trap as every other Comfyroll graphics node with this dropdown-plus-hex pattern: the hex field only kicks in when the matching dropdown is set to custom. Leave it on a named color and the hex value is ignored no matter what you typed in it.

    Can't center it on a large canvas. As above - center_x/center_y cap at 512 regardless of your width/height. Either work at 1024 or below where 512 is genuinely center, or shift/crop the output afterward with a compositing node.

    Muddy or indistinguishable wedges. A high num_triangles on a small canvas produces wedges thinner than a pixel wide, which just reads as noise. Scale wedge count to canvas size, or push size up before pushing count up.

    If nothing from the pack shows up in the node menu at all, that's a load failure rather than anything wrong with this node specifically - check your ComfyUI console for Comfyroll Studio: Failed to load Graphics nodes, usually caused by a Pillow version conflict from another installed pack, and fix it by reinstalling Pillow or updating Comfyroll through Manager.

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

    Inputs (11)

    NameTypeDefaultDescription
    widthINT51264–4096β€”
    heightINT51264–4096β€”
    num_trianglesINT61–512β€”
    color_1COMBO30 options: custom, white, black, red, green, blue, +24
    color_2COMBO30 options: custom, white, black, red, green, blue, +24
    center_xINT00–512β€”
    center_yINT00–512β€”
    rotationFLOAT0.000–720β€”
    bbox_factorFLOAT2.000–2β€”
    color1_hexoptSTRING#000000β€”
    color2_hexoptSTRING#000000β€”

    Outputs (2)

    NameTypeDescription
    IMAGEIMAGEβ€”
    show_helpSTRINGβ€”