Gradient-Based Mullion Density in Grasshopper

Hi everyone,

I’m new here, so hopefully, you can help me with this one.

I’ve been exploring the tools in Grasshopper, and I wanted to know if the following is possible: scattering vertical mullions according to the Gradient tool, where the density increases from one point to another. If it is, could someone guide me on how to achieve this?

Thank you so much for your help!

Here’s one way to do this:

The gradient component is fed a range with equal step size. The partial results of the mass addition are remapped to a domain from 0 to 1.

gradient_remap.gh (13.2 KB)

Also if you want to learn more, take a look at the Modelab primer:

Foundations | The Grasshopper Primer Third Edition (gitbooks.io)

4 Likes

Might be more useful if ReMap ‘T’ (Target) were a slider? Or mapped to points along a curve?


gradient_remap_2024Aug28a.gh (18.4 KB)

Hello
I don’t know why you want to use Gradient. I don’t think it is the tool for this.
Graph Mapper seems more appropriate !



mullions.gh (6.0 KB)

2 Likes

I also think this is a more direct solution.

However, instead of a color gradient, the input could be an image and then the approach would be quite similar.

Thank you guys amazing inputs, gradient its cool because, but without any doubt the graph mapper seems the solution that i was looking for. thanks a lot