Nodes/Parametric Studio/2D Vector Decompose (typed numbers, not CFG)
ComfyUI Node

2D Vector Decompose (typed numbers, not CFG)

Computes magnitude, angle, unit direction, scale, projection onto an axis and residual of a 2-D vector typed as JSON. It reads no guidance tensor and is not connected to CFG.

By parametricparadigm·Created 4 days ago·Updated about 3 hours ago· 1
2D Vector Decompose (typed numbers, not CFG)
    • magnitude
    • angle
    • direction
    • scale
    • projection
    • residual
    • composite
    ◄vec_json[1.0, 0.0]►
    ◄axis_json[1.0, 0.0]►
    ◄reference1.000►
    ◄scale_mode▾►
    CategoryParametric/Sampling

    Inputs (4)

    NameTypeDefaultDescription
    vec_jsonSTRING[1.0, 0.0]Vec json. Default [1.0, 0.0].
    axis_jsonSTRING[1.0, 0.0]Axis json. Default [1.0, 0.0].
    referenceFLOAT1.0000–1000000000Reference. From 0 to 1e+09. Default 1.0.
    scale_modeCOMBOScale mode. One of 3 choices.

    Outputs (7)

    NameTypeDescription
    magnitudeFLOAT—
    angleFLOAT—
    directionSTRING—
    scaleFLOAT—
    projectionFLOAT—
    residualSTRING—
    compositeSTRING—