DGS Studio

3D Coordinate Systems

First-octant tetrahedron

The region where x, y, and z are nonnegative and x + y + z is at most 1.

The four inequalities x ≥ 0, y ≥ 0, z ≥ 0, and x + y + z ≤ 1 describe the solid tetrahedron in the first octant. Its corners are the origin and the three unit intercepts.

The volume of this tetrahedron is 1/6. The flat top is the plane x + y + z = 1. The other three faces lie on the coordinate planes. DGS shades the region instead of drawing only the boundary.

Equation

x >= 0
y >= 0
z >= 0
x + y + z <= 1

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