very cool project. it inspired me to experiment with different blending algorithms. i created something similar in p5.js, have a look here.
in one version i just calculate a coefficient (1 / distance)^power for each point at each pixel and the resulting color is a sum of point_color * normalize(point_coeff). normalize prevents the sum of coefficients from being greater than 1.
in the second version the resulting color is something like a sum of point_color * normalize(sum_of_coeffs - point_coeff). you can drag points, pick a color by clicking anywhere (the output is in the console) and add a new point by double-clicking.
one-over:

subtract:

very cool project. it inspired me to experiment with different blending algorithms. i created something similar in
p5.js, have a look here.in one version i just calculate a coefficient
(1 / distance)^powerfor each point at each pixel and the resulting color is a sum ofpoint_color * normalize(point_coeff).normalizeprevents the sum of coefficients from being greater than 1.in the second version the resulting color is something like a sum of
point_color * normalize(sum_of_coeffs - point_coeff). you can drag points, pick a color by clicking anywhere (the output is in the console) and add a new point by double-clicking.one-over:subtract: