Nodes/ComfyUI-Keyframed/9x Entangled Curves [0,1] (Frequency)
ComfyUI Node

9x Entangled Curves [0,1] (Frequency)

Nine prompts and the gentlest blend in the family

By dmarx·Created 3 years ago·Updated 2 years ago· 92
9x Entangled Curves [0,1] (Frequency)
    • KEYFRAMED_CURVE
    • KEYFRAMED_CURVE
    • KEYFRAMED_CURVE
    • KEYFRAMED_CURVE
    • KEYFRAMED_CURVE
    • KEYFRAMED_CURVE
    • KEYFRAMED_CURVE
    • KEYFRAMED_CURVE
    • KEYFRAMED_CURVE
    frequency0.08

    Nine is the top of the entangled-curves ladder, and it's also the point where you should stop and ask whether you actually want this. With nine prompts, each curve peaks at ~2/9 (about 0.22) - the lead prompt barely outshouts the rest, and the whole animation becomes a wash of concepts drifting in emphasis. If that's the look you're after, great. If you wanted legible prompt transitions, you probably want the 3x or 4x sibling instead.

    It's the 9x member of the "Entangled Curves" family in dmarx's ComfyUI-Keyframed, parameterized by frequency. The family builds N sine curves that sum to ~1 at every frame; the more curves you add, the smaller each one's individual voice. Nine is the extreme end of that trade-off, and the pack deliberately stops here.

    How it works

    Nine SinusoidalCurves with phases evenly spaced around the circle (a ninth of a turn apart), each with amplitude 1/9 plus a small floor so none fully zeroes - fully zeroed conditions create "sharp edges" in the traversal, per the README. The balanced phases make the nine curves sum to ~1 at any instant. Each swings between ~0 and ~0.22. With the default frequency of 1/12, the emphasis rotates through all nine prompts over a 12-frame cycle; lower the frequency to stretch that rotation out.

    One input, frequency (FLOAT, default 1/12, stepped at 0.01). Nine KEYFRAMED_CURVE outputs.

    Wiring it up

    The standard pattern: each curve output into its own Apply Curve To Conditioning node, merge all nine with KfConditioningAdd, then into the sampler. Nine conditionings weighted per frame is the heaviest setup in the whole family - slow to sample and easy to overthink. Keep the prompts short; their individual contribution is tiny.

    Installing it

    Ships in ComfyUI-Keyframed. ComfyUI Manager: search "ComfyUI-Keyframed". Or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/dmarx/ComfyUI-Keyframed
    

    Restart ComfyUI. No model downloads; the only dependency is the keyframed library, auto-installed on first startup (give the first load a minute; pip install keyframed if it stalls). It's under keyframedentangled [0-1]. Grab this only if you genuinely need nine simultaneous voices - and if you're not sure you do, you don't.

    Categorykeyframed/entangled [0-1]

    Inputs (1)

    NameTypeDefaultDescription
    frequencyFLOAT0.08

    Outputs (9)

    NameTypeDescription
    KEYFRAMED_CURVEKEYFRAMED_CURVE
    KEYFRAMED_CURVEKEYFRAMED_CURVE
    KEYFRAMED_CURVEKEYFRAMED_CURVE
    KEYFRAMED_CURVEKEYFRAMED_CURVE
    KEYFRAMED_CURVEKEYFRAMED_CURVE
    KEYFRAMED_CURVEKEYFRAMED_CURVE
    KEYFRAMED_CURVEKEYFRAMED_CURVE
    KEYFRAMED_CURVEKEYFRAMED_CURVE
    KEYFRAMED_CURVEKEYFRAMED_CURVE