Grasshopper - Wave Pattern

I am working on a model and what to apply a wave pattern to top the top surface of my object. Right now it only works from one line and i cant figure out how to make the wave go in a triangle form. I have uploaded the model and script and i made a test shape that is a traignle that i want the wave shape to be.

Material Culture_Teahouse Object_ Wave 1.3dm (6.5 MB) waveline-shaper - Top (32.5 KB) nt to the waves to move.