How to make a gradient scale in Grasshopper?

Hi everyone,

I’m trying to create a gradient scale effect in Grasshopper. I already have the base geometry (rotation, extrusion, etc.), but I need to scale it so that the bottom is larger and it gradually decreases (or increases) towards the top.

I tried using sine/π functions to control the scaling, but it feels too complicated. Is there a simpler way to achieve a smooth gradient scaling of curves or geometry (for example, from factor 2 at the bottom to 1 at the top)?

Thanks in advance!

example

test1.gh (13.6 KB)

test1.3dm (46.0 KB)

My interpretation.

test1 a.gh (20.9 KB)

1 Like

Another interpretation.
test3_dan.gh (10.5 KB)

1 Like