Answer the question
In order to leave comments, you need to log in
Is there any literature or ready-made algorithms for generating complex point-to-point gradients?
Hello!
Help solve this problem. Suppose we have a set of points on a plane. Each point, in addition to coordinates, has a certain "weight" from 0 to 100. Using these points, it is necessary to build a gradient (or a set of gradients) using the algorithm. But not a simple one, but a color gradient in which the weight of the points determines the color of the final picture. Since I am a tongue-tied comrade, with varying success I tried to draw what I want to get.
Please note that the points seem to indirectly affect the gradient map. And one more thing - at these points, the gradient itself should be able to "fade" away from the points. That is, the color value should be equal to zero after some certain distance.
I apologize if I made a mistake somewhere in my words.
Actually, if someone knows something or can give some information (where to dig) - help, please. I would love to explore this topic.
Answer the question
In order to leave comments, you need to log in
pijavq : somehow it’s not very clear, judging by the description, the gradient should be uniform, but something is not right in the picture, in theory there should be intersecting twists, something like this probably (only there are no gradients here), but you, though beautiful, but the description is not very suitable.
if I'm right, then look towards d3.js , there are gradients there
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question