Similar parametric design on grasshopper

I am looking into creating something in grasshopper that is similar to the pictures attached and I don’t know how to approach it. Any ideas? I need the geometry to be split up into pieces if possible, smaller to the ones on the picture, as if the geometry was cut with as a square grid rather than just on one direction.