Nodes Browser
Spline Editor
SplineEditor
Node Information
- Category:
- KJNodes/weights
- Python Module:
- custom_nodes.ComfyUI-KJNodes
- Output Node:
- No
Spline Editor
PREVIEW
mask
coord_str
float
count
normalized_str
â—€
points_store
STRING
â–¶
â—€
coordinates
STRING
â–¶
â—€
mask_width
INT
â–¶
â—€
mask_height
INT
â–¶
â—€
points_to_sample
INT
â–¶
â—€
sampling_method
time
â–¶
â—€
interpolation
cardinal
â–¶
â—€
tension
0.5
â–¶
â—€
repeat_output
INT
â–¶
â—€
float_output_type
list
â–¶
â—€
min_value
0
â–¶
â—€
max_value
1
â–¶
# WORK IN PROGRESS
Do not count on this as part of your workflow yet,
probably contains lots of bugs and stability is not
guaranteed!!
## Graphical editor to create values for various
## schedules and/or mask batches.
**Shift + click** to add control point at end.
**Ctrl + click** to add control point (subdivide) between two points.
**Right click on a point** to delete it.
Note that you can't delete from start/end.
Right click on canvas for context menu:
These are purely visual options, doesn't affect the output:
- Toggle handles visibility
- Display sample points: display the points to be returned.
**points_to_sample** value sets the number of samples
returned from the **drawn spline itself**, this is independent from the
actual control points, so the interpolation type matters.
sampling_method:
- time: samples along the time axis, used for schedules
- path: samples along the path itself, useful for coordinates
output types:
- mask batch
example compatible nodes: anything that takes masks
- list of floats
example compatible nodes: IPAdapter weights
- pandas series
example compatible nodes: anything that takes Fizz'
nodes Batch Value Schedule
- torch tensor
example compatible nodes: unknown