I would like to make a surface that obeys the equation:

z = Asin(x) + Asin(y), 0<=z<=1; 0<=x<=2npi; 0<=y<=2npi

Where I would like to be able to change n to increase/decrease the number of cycles and change the amplitude A. I attempted to generate a sine wave via a script that I found; then I tried to extrude it, duplicate it, and then rotate one of the planes so that they intersected at a 90degree angle. The results were not very satisfying...


1 Answer 1


I don't think there's currently a way to add surfaces, but if you are okay with using meshes, you can use the Extra objects addon (it's not enabled by default).

To enable the addon, open the User Preferences, by pressing Ctrl + Alt + U; then, switch to the Add-ons, search for "extra" and enable the one that reads "Add Mesh: Extra Objects", by checking the box.

enter image description here

Then, you can close the User Preferences window and, in the 3D View, press Shift + A and then select Mesh>Math Function>Z Math Function.

enter image description here

After that, in the Toolbar (T), you will find a box where to enter your function.

enter image description here

If you prefer, you can bring these options up by pressing F6.

enter image description here

After you've entered your function, you can add a Subdivision Surface modifier to make it smoother.

  • $\begingroup$ Where is the menu that I can access addons from ? $\endgroup$ Commented Jan 31, 2016 at 18:47
  • 2
    $\begingroup$ @Overzealous File > User Preferances, or [Ctrl]+[Alt]+[U]. $\endgroup$
    – PGmath
    Commented Jan 31, 2016 at 18:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .