How to generate a multi-color blur gradation from a specified image?

Is there any possible way to generate a multi-color blur gradation depends on an image via Processing?
For example, the lyrics UI background of Apple Music. It’s auto-generated from CD jacket image.

Hello @Soh,

The way I would go about it would be to first do some color quantization of your main image. With that process you should be left with 2 or 3 main colors.

Then, I would use some voronoi like method to randomly fill the space with the 2 or 3 previously found colors.

Finally, I would apply a gaussian blur using a really big radius to soften all the transition a have nice gradients.

Really cool project, I might also give it a go if I have time :grin:


One of the best tools in a programmers tool chest is knowing the resources available to you and learning to navigate, filter and use them.

This is a very short list:

Resources < Click here to expand !

I encourage you to review the resources available here:

From above:
I stopped there…