I’m trying to figure out how to make a panel density gradient with three attractor points. I’ve searched around and found a few scripts that has gotten me this far, but I’ve been stuck on the next few steps. I’d appreciate some advice, examples, etc.
What I have so far is a single attractor point with random values to not have a solid body of panels. See below.
What I’m trying to do is the following:
- Instead of using the random tool, I would like to create a pattern that allows only 1, 2, or 3 panels to be next to one another horizontally or in the “x” direction only (I will eventually want to try variables for both but that’s probably too much currently).
I’m trying to understand jitter, but I don’t know it well enough to know if it could help with this.
- For the other two points, I’d like one to be an attractor like what I already have, but the other point to be a point that “repels”. I’ve been trying to understand how to combine the effects of points that attract and points that repel.
The overall idea is to use these tools to create somewhat of a dynamic bitmap (one I’ve seen without attractor points and using color is seen below) with interacting attractor points and controlling how many panels can be next to one another.
I’m attaching what I’ve figured out so far as well. Hopefully this isn’t too much information, but I want to do a good job of being clear.
JaredPatternGradients.gh (14.2 KB)