Trying to create this pattern with Sine Waves

Hello
your question is also near this one

It is not very pleasant to answer a question and see quite the same question on another thread. You try to use scripts without really understanding. If you want an answer that fits your idea you must be a bit more precise.
On the link I mention you asked for 3d object, now on a single surface.

Look at these threads

It is simple to get what is on first image

1 Like