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.


Moved to the Grasshopper category. (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