kijai / ComfyUI-KJNodes

Various custom nodes for ComfyUI
GNU General Public License v3.0
675 stars 77 forks source link

[FEATURE REQUEST] Allow multiple splines in the Spline Editor nodes #135

Open brayevalerien opened 2 weeks ago

brayevalerien commented 2 weeks ago

Hello Kijai,

Tora has been integrated in your CogVideoX wrapper for ComfyUI for some time now and with it the spline editor has become very useful to define trajectories in an intuitive and visual way.

Since Tora supports multi-trajectories motion guidance, it would be also very nice to be able to edit multiple splines in the same editor, in order to help producing things like your result.

Currently, we need to add as many spline editors as trajectories, edit them separatly and then collect the results in a list, which require many nodes. Since the editor takes a lot of space and can't be resized, this uses a lot of canvas space and makes workflows harder to read and to edit.

Adding multi-spline support would need some non trivial adjustments like thinking of a way to know which spline to edit and how to add or remove them, but it's mainly UI/UX issues and I think it would be well worth it especially if Tora and CogVideoX become more and more popular.

kijai commented 2 weeks ago

Would have already done it if I knew how, but I'm terrible with javascript sadly.

brayevalerien commented 2 weeks ago

I can only relate ahah. Hopefully someone else can contribute to this issue.