The geometry proximity-node position output is quite mysterious to me, it is able to dynamically split space into position cells, as shown in the gif below. I would like to have a better understanding of how it is mathematically possible to achieve such a result.
In this gif example I'm using vertices with the geometry proximity node, however, these vertices are only but simple Location vectors after all! Could we replicate this behavior only using math nodes & 3 location vectors? thus the title, can we reproduce such position-cells from scratch?
Here's a setup, the goal is to reproduce the behavior of the gif
Vector Math
node with the operation Distance for that. But if you have a complex geometry, you can't just replace this node (at least not unless you are more precise about what you want to do). $\endgroup$