Nodes/RES4LYF/Sigmas CrossProduct
ComfyUI Node Runs on cloud

Sigmas CrossProduct

The vector-math node in the sigma toolbox

By ClownsharkBatwing·Created 2 years ago·Updated 22 days ago· 1,222
Sigmas CrossProduct
  • sigmas_a
  • sigmas_b
  • SIGMAS

This might be the odd one out even among RES4LYF's odder sigma nodes. A cross product is a specific vector operation - classically defined for three-dimensional vectors - that returns a new vector perpendicular to both of its inputs. Applying that to a pair of sigma schedules, which are really just one-dimensional sequences of noise values over time rather than 3D vectors, is an unusual pairing of concepts, and it's not one I could find documented anywhere or discussed in the community.

How it (probably) works

Two schedules go in - sigmas_a and sigmas_b - and one comes out. Going by the operation's name, expect it to combine the two using cross-product-style math rather than the simple elementwise addition or multiplication that Sigmas2 Add and Sigmas2 Mult do. I'm being deliberately careful here: there's no README section, no source comment, and no community thread that spells out exactly how a cross product gets applied to sequences that aren't fixed at length 3, so treat the mechanism as an educated guess from the node's name rather than a documented spec. What I can say with confidence is what the schema tells you directly: two SIGMAS in, one SIGMAS out, nothing else to configure.

The inputs and outputs that matter

  • sigmas_a (SIGMAS, required)
  • sigmas_b (SIGMAS, required)

Output is a single SIGMAS list.

Should you use this?

I'll be straight with you: I don't have a recipe for this one, and I couldn't find anyone who does. It's part of the pack's broader habit of shipping raw mathematical building blocks - the same instinct behind the arc-trig reshaping nodes, the chaos and attractor generators, and the Collatz and Conway sequence tools - rather than a curated list of "here's what to try." If you're the kind of person who enjoys experimenting with unusual schedule math for its own sake, it's here for you. If you just want a working custom schedule, Sigmas CatmullRom (smoothing/resampling), Sigmas Cleanup (floor enforcement), and Sigmas Concat (stitching two schedules) all have a much clearer, more predictable purpose even without a dedicated doc page - start there.

How to install it

  • ComfyUI Manager - search "RES4LYF", install, restart.
  • Manual - activate your venv, cd ComfyUI/custom_nodes && git clone https://github.com/ClownsharkBatwing/RES4LYF, cd RES4LYF, pip install -r requirements.txt (portable builds: use the embedded pip.exe). Restart.

Common issues & troubleshooting

Expect the output to not preserve the monotonic, decreasing shape a sampler wants. Cross-product-style math has no reason to respect "should trend toward zero," so run the result through Sigmas Abs and Sigmas Cleanup, and check it with Sigmas Count and a preview, before it goes anywhere near a real render - the same caution that applies to this pack's other experimental math nodes applies doubly here, given how little is documented about what it actually computes.

Mismatched schedule lengths are undefined territory, same as with Sigmas2 Add/Mult - build both inputs from schedulers set to the same step count to sidestep the question.

CategoryRES4LYF/sigmas

Inputs (2)

NameTypeDefaultDescription
sigmas_aSIGMAS
sigmas_bSIGMAS

Outputs (1)

NameTypeDescription
SIGMASSIGMAS