3D surfaces can be defined parametrically, with three functions x(u, v), y(u, v) and z(u, v). While the parametric equations of simple surfaces such as a cylinder or sphere can be easily derived with just a pencil and paper, others, such as a spinning hypocycloid orbiting around a center which itself is rotating, seem impossibly complex.

This tutorial provides a system and method for deriving the equations of even the most complex of 3D surfaces using the multiplication of transformation matrices based on an online calculator we have developed.

Related: Matrix-Based 3D Surface Calculator

Here are some examples of 3D surface as seen in the tutorial. Copy the JSON string from a box below to the calculator's large text area. Press the Load button, then press Generate Python Script. Copy the generated Python script to Blender' text window and press the Run Script button.

**Simple Spiral:**

**Spinning Hypocycloid-based Spiral:**

**Pipes:**

**Snail Shell:**

**Patterned Sphere:**

**Spiked Sphere:**