fogleman/primitive

Feature suggestion: colour gradient

TomHartleyYork opened this issue · 1 comments

I find these images hypnotic. I would like to see one composed of shapes with an RGB colour gradient fill. In many cases one shape (e.g., rectangle) with a gradient fill could outperform many single colour shapes.

So fewer parameters needed to fit the same image.

over_gradient

from https://medium.freecodecamp.org/using-svg-as-placeholders-more-image-loading-techniques-bed1b810ab2c

seems like an ideal candidate for replacing lots of primitives with a gradient across a primitive.

And in this example image, doing background segmentation might make the gradient be a single primitive (box) and a gradient with a small list of values.