> For the complete documentation index, see [llms.txt](https://gitbook.testingwaters.in/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.testingwaters.in/geometry-1/sine-ribbon.md).

# Sine Ribbon

<figure><img src="/files/ZwSMdeCaCMEZq9sTfqW1" alt=""><figcaption><p>Sine Ribbon</p></figcaption></figure>

```d
n = 6;
u = 0..(90*n)..#(50*n);
v = 0..(180*n)..#(50*n);

x = (Math.DegreesToRadians(u))*2;
y = (Math.Sin(u)*Math.Cos(u))*2;
z = Math.Pow(Math.Sin(v),4);

c = NurbsCurve.ByPoints(Point.ByCoordinates(x,y,z));

d = c.Mirror(Plane.XY()).Mirror(Plane.XZ()).Translate(0,0,2);

e = Surface.ByLoft([c,d]).Thicken(0.1)
```
