8x Entangled Curves [0,1] (Frequency)
Eight curves for a slowly shifting ensemble
- KEYFRAMED_CURVE
- KEYFRAMED_CURVE
- KEYFRAMED_CURVE
- KEYFRAMED_CURVE
- KEYFRAMED_CURVE
- KEYFRAMED_CURVE
- KEYFRAMED_CURVE
- KEYFRAMED_CURVE
Eight prompts is a serious crowd, and this node treats them the way a conductor treats a section: everyone plays, the mix just leans. It emits eight phase-locked sine curves that sum to ~1 at every frame, each swinging between ~0 and ~1/4. Even at its peak, one prompt only contributes a quarter of the conditioning - so the image is always a broad blend, and the "lead" is more of a subtle emphasis than a switch.
It's the 8x member of the "Entangled Curves" family in dmarx's ComfyUI-Keyframed, driven by frequency. Past this point the family is really just adding more seats to the same orchestra; the mechanism doesn't change, only the resolution of the blend.
How it works
Eight SinusoidalCurves with phases evenly spaced around the circle (an eighth of a turn apart), amplitude 1/8 each plus a tiny floor so none fully zeroes - fully zeroed conditions create "sharp edges" in the traversal, per the README. The balanced phases make the eight sum to ~1 at any instant. Each curve ranges from ~0 to ~0.25, and because there are eight of them, the transition between "which prompt is emphasized" is very smooth - with the default frequency of 1/12, a full rotation of the lead takes 12 frames.
One input, frequency (FLOAT, default 1/12, stepped at 0.01). Eight KEYFRAMED_CURVE outputs.
Wiring it up
Same pattern as every member of the family: each curve output into its own Apply Curve To Conditioning node, merge the eight conditionings with KfConditioningAdd, then into the sampler. This is a lot of merging per frame - it's the heaviest member of the frequency family so far, so budget for slower sampling.
Installing it
Part of ComfyUI-Keyframed. ComfyUI Manager: search "ComfyUI-Keyframed". Or:
cd ComfyUI/custom_nodes
git clone https://github.com/dmarx/ComfyUI-Keyframed
Restart ComfyUI. No models to download; the only dependency is the keyframed library, auto-installed on first startup (first load can pause on pip; pip install keyframed if it fails). The node is under keyframed → entangled [0-1]. Eight is overkill for most stories, but for a slowly morphing texture of concepts, it's the top end of the practical range.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| frequency | FLOAT | 0.08 | — |
Outputs (8)
| Name | Type | Description |
|---|---|---|
| KEYFRAMED_CURVE | KEYFRAMED_CURVE | — |
| KEYFRAMED_CURVE | KEYFRAMED_CURVE | — |
| KEYFRAMED_CURVE | KEYFRAMED_CURVE | — |
| KEYFRAMED_CURVE | KEYFRAMED_CURVE | — |
| KEYFRAMED_CURVE | KEYFRAMED_CURVE | — |
| KEYFRAMED_CURVE | KEYFRAMED_CURVE | — |
| KEYFRAMED_CURVE | KEYFRAMED_CURVE | — |
| KEYFRAMED_CURVE | KEYFRAMED_CURVE | — |