Parametric design

I want to design the following pattern in such a way that each point can be moved so that each point can move along the y axis. I gridded the page using iso trim, but in the end I could not implement this pattern.

image

Moved to the Grasshopper category.


Pattern_re.gh (8.7 KB)

thank you very much.
i have a question. i donot know how you guess this expression

also i want to loft each shape but it could with both