ComfyUI/comfy_api/latest/_input
bymyself 1c40a588fb feat: add CurveInput ABC with MonotoneCubicCurve implementation
CurveInput is an abstract base class so future curve representations
(bezier, LUT-based, analytical functions) can be added without breaking
downstream nodes that type-check against CurveInput.

MonotoneCubicCurve is the concrete implementation that:
- Mirrors frontend createMonotoneInterpolator (curveUtils.ts) exactly
- Pre-computes slopes as numpy arrays at construction time
- Provides vectorised interp_array() using numpy for batch evaluation
- interp() for single-value evaluation
- to_lut() for generating lookup tables

CurveEditor node wraps raw widget points in MonotoneCubicCurve.
2026-03-15 22:02:52 -07:00
..
__init__.py feat: add CurveInput ABC with MonotoneCubicCurve implementation 2026-03-15 22:02:52 -07:00
basic_types.py feat: add CurveInput ABC with MonotoneCubicCurve implementation 2026-03-15 22:02:52 -07:00
video_types.py Add a VideoSlice node (#12107) 2026-02-10 14:42:21 -08:00