I have very little experience in developing gh components, but I can write C# and Python without any issues.
Is there a way to generate a Gradient component in C# or Python from an arbitrary gradient like the one attached?
I want to provide clients with Gradient components that have arbitrary gradients preset.
However, since these gradients change dynamically, I am considering retrieving gradient data from a server and dynamically generating Gradient components.
Is there any method to achieve this?
If dynamic generation is difficult, I think creating a custom gh component that has the same input/output as the Gradient component and a UI that shows what kind of gradient it is might be a good approach.
However, I’m not sure if this method is feasible either.
If you know any way to achieve this or any alternative solutions, please let me know.
Thank you.
color gradient tweaks.gh (13.1 KB) asked chatgtp to clean and add comments. Ended up removing the comment block, missed that. Lame excuses, but my apologies. Attached version works, had the Boolean input on list instead of item by mistake