Can someone explain to me how to make these surface lattice patterns?

As @Japhy reminded, you can give it a try with ShapeMap and for your reference.