figma-easing-gradients
figma-easing-gradients copied to clipboard
✨🎨 Easing functions for gradient fills in Figma.
Little demo with LCH interpolation on a radial gradient. I just used shift-X to swap to a stroke, though that messes up the logic I had around the saved fills...
wip exploration for #9
Right now, interpolation happens (afaik) in sRGB gamma space. Since we're adding gradient stops, we can affect how the colors in the gradient are interpolated. With a different color space,...
With my changes, it can be unintuitive where you add a gradient easing and go to change the transform on the gradient. Then you reset the easing and the transform...
Is there a way to do away with adjusting the spline curve manually for most use cases? Assume two-gradient-stop case for simplicity. I think there are two rough kinds of...
Right now the plugin adds N = 15 steps between each stop, but this could be determined better dynamically Each segment being a linear interpolation, we could pick - dynamically...
Have you considered adding support for multiple stops + respecting the starting positions of the stops? If I have a gradient with multiple color stops, right now the plugin only...