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

🟧 CR Starburst Lines

Generate a radial sunburst pattern as an image

By Suzie1Β·Created 3 years agoΒ·Updated 2 years agoΒ· 1,296
🟧 CR Starburst Lines
    • IMAGE
    • show_help
    β—„width512β–Ί
    β—„height512β–Ί
    β—„num_lines6β–Ί
    β—„line_length5.0β–Ί
    β—„line_width5β–Ί
    β—„line_colorβ–Ύβ–Ί
    β—„background_colorβ–Ύβ–Ί
    β—„center_x0β–Ί
    β—„center_y0β–Ί
    β—„rotation0.00β–Ί
    β—„line_color_hex#000000β–Ί
    β—„bg_color_hex#000000β–Ί

    CR Starburst Lines draws a sunburst - a set of straight lines radiating out from a center point - and hands it to you as an image. It's the classic comic-book "impact" background, the retro sale-flyer starburst, the anime speed-lines effect. You set how many lines, how thick, what colors, where the center is, and how the whole thing is rotated.

    It's not generating anything with a model; it's a procedural graphic. That makes it a cheap, instant source of a very specific kind of background you'd otherwise draw by hand or hunt for as a stock asset.

    How it works

    It's PIL drawing lines out from a center point across a blank canvas of the size you specify. Everything is deterministic from the parameters - no seed, no randomness - so the same settings always give the same burst. You then use the output as a background to composite onto, a base layer to overlay text on, or a conditioning image for something like ControlNet if you want those radial lines to influence a generation.

    The inputs that matter

    • width / height (INT, default 512) - canvas size.
    • num_lines (INT, default 6) - how many rays. Crank this up for dense speed-lines; keep it low for a bold few.
    • line_width (INT) and line_length (FLOAT) - thickness and reach of each ray.
    • line_color / background_color - named-color dropdowns (30 options each, including custom). Pick custom and the optional line_color_hex / bg_color_hex fields take over.
    • center_x / center_y (INT, default 0) - where the burst originates.
    • rotation (FLOAT, 0–720) - spin the whole pattern.

    Output is a single IMAGE (plus show_help, ignore it).

    Installing it

    Ships in Comfyroll Studio (Suzie1 / RockOfFire), a large, established utility pack. Via ComfyUI Manager: search "Comfyroll Studio," install, restart. Or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes.git
    

    and restart. No models, no dependencies.

    Common issues

    The one that gets everybody: center_x/center_y default to 0, which is the top-left corner, so out of the box your burst radiates from the corner instead of the middle. Set them to roughly half your width and height for a centered starburst.

    Second, the color trap common to all Comfyroll graphics nodes: your hex color is ignored unless the matching color dropdown is set to custom. If your custom colors aren't showing, that's why.

    And if you're feeding the result into ControlNet expecting magic - remember it's just lines. It'll bias composition toward radial structure, but it's a graphic, not a depth map or pose. If the pack won't load at startup with a traceback, reinstall cleanly through Manager.

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

    Inputs (12)

    NameTypeDefaultDescription
    widthINT51264–4096β€”
    heightINT51264–4096β€”
    num_linesINT61–500β€”
    line_lengthFLOAT5.00–100β€”
    line_widthINT51–512β€”
    line_colorCOMBO30 options: custom, white, black, red, green, blue, +24
    background_colorCOMBO30 options: custom, white, black, red, green, blue, +24
    center_xINT00–1024β€”
    center_yINT00–1024β€”
    rotationFLOAT0.000–720β€”
    line_color_hexoptSTRING#000000β€”
    bg_color_hexoptSTRING#000000β€”

    Outputs (2)

    NameTypeDescription
    IMAGEIMAGEβ€”
    show_helpSTRINGβ€”