DGS Studio

Sigma / Σ Summation

3D Parametric Sigma Surface

A torus whose height carries a twelve-term sine ripple.

This parametric3d surface is a torus of major radius 2 and tube radius 0.4, plus a twelve-term ripple in z: sin(v) + sum(0.15*sin(n*u)/n, (n, 1, 12)).

u and v both run from 0 to 2π. x and y carry the tube around the ring. The sum depends only on u, so the ripple repeats around the ring. Color, opacity, mesh, and rotation stay on the existing 3D scene.

Equation

parametric3d(
  (2+0.4*cos(v))*cos(u),
  (2+0.4*cos(v))*sin(u),
  sin(v)+sum(0.15*sin(n*u)/n, (n, 1, 12)),
  0, 2*pi, 0, 2*pi
)

How the 3D scene is built

A 3D example is drawn in the existing surface viewer, not on the flat JSXGraph board. An equation z = f(x, y) becomes a height field. A quadric such as a sphere or hyperboloid uses its own sampler. A parametric3d or curve3d command supplies the coordinates directly.

The camera starts framed on the surface. Axes and the grid stay in the scene. Implicit surfaces are extracted with marching cubes from F(x, y, z) = 0. If you edit the equation and generate again, the same viewer replaces the mesh instead of opening a second renderer.

Reading the input

Try a change

Generate Graph sends the expression to the graph engine. A 3D result is drawn in the surface viewer: a mesh, a space curve, or a shaded region, depending on the command. The 2D board is cleared first.

Edit and generate

Generate Graph opens the studio homepage and runs this field. Open in DGS Studio loads the same text and waits for you to generate it. The equation is sent once, as a query parameter.

Related examples