The 3D Geometry Board, Explained

After reading this you will be able to slice a cone with a plane, name the conic that falls out, place its two Dandelin spheres by hand, and check that the sum of focal distances stays constant to four decimal places.

What the board does, and one hook

The 3D Geometry Board is a construction surface in space. You place points, join them into lines and planes, grow spheres and polyhedra, then intersect any two objects and measure the result. The camera orbits, so you see the same construction from every angle. Nothing is baked in: drag a point and every object built from it moves too.

Here is the hook. Take a right circular cone and cut it with a slanted plane. The section is an ellipse. Now drop the two spheres that fit snugly inside the cone and just touch the cutting plane, one above the cut and one below. Each sphere kisses the plane at a single point. Those two points are the foci of the ellipse. Put a point on the ellipse, measure its distance to each focus, add them, and the sum never changes as you drag the point around. That sum equals the length of the major axis. The board lets you watch this stay fixed while everything else moves.

When to reach for it, and when not

Use the board when a relationship in space is hard to see on paper: the shape of a cross-section, why three planes meet in a point or a line, how a net folds back into a solid, or why the conic sections are one family. The orbiting orthographic camera is honest about parallel lines and equal lengths, so you can trust what you compare by eye.

Do not use it as a proof engine. The relation checker tests whether collinearity, coplanarity, parallelism, perpendicularity or tangency survive random legal moves, which is strong evidence but not a proof. Do not expect it to handle non-convex solids for cross-sections or nets; the algorithms assume convexity. And the painter's algorithm sorts translucent faces by depth, so two interpenetrating solids can occasionally draw in the wrong order. For flat constructions you are better served by the Dynamic Geometry Board.

The conic sections from one cone

Set the cone with apex at the origin, axis along the vertical, and half-angle \alpha: the angle between the axis and a generator line. Every point on the cone satisfies

x^2 + y^2 = (\tan\alpha)^2\, z^2

Here x, y, z are the coordinates of a point on the surface, and \tan\alpha is the ratio of radius to height along the cone. Now cut with a plane that makes angle \beta with the axis. The type of conic depends only on how \beta compares to \alpha.

Circle
The plane is perpendicular to the axis, so \beta = 90^\circ.
Ellipse
The plane is steeper than the generators: \alpha \lt \beta \lt 90^\circ. The section is closed.
Parabola
The plane is exactly parallel to one generator: \beta = \alpha. The section is open, one branch.
Hyperbola
The plane is shallower than the generators: \beta \lt \alpha. The plane meets both nappes, giving two branches.

The board samples the conic along 240 generators of the cone, so a hyperbola shows both nappes and is clipped where the generators leave the drawn part of the cone.

Why the Dandelin spheres are the foci

The Dandelin construction is the cleanest proof that a slanted section of a cone is an ellipse in the classical sense: a curve where two focal distances sum to a constant. Inscribe two spheres in the cone, each tangent to the cone along a full circle, and each tangent to the cutting plane at one point. Call those tangent points F_1 and F_2.

Pick any point P on the section. Draw the generator line of the cone through P; it runs from the apex down the surface and crosses both tangent circles, say at A on the upper sphere's circle and B on the lower sphere's circle. Two tangent segments from a single external point to one sphere have equal length. So PF_1 = PA and PF_2 = PB. Adding,

PF_1 + PF_2 = PA + PB = AB

The segment AB is the piece of the generator between the two tangent circles. That length is the same for every generator, because the circles are fixed. So the sum PF_1 + PF_2 is constant as P moves. That constant equals the major axis length 2a. The two tangent points are the foci by definition.

The same argument runs for the hyperbola with the difference of distances constant, and for the parabola with one sphere and the directrix. One picture, three theorems.

A worked example you can reproduce

Cutting a 30-degree cone and checking the focal sum

Take a cone with half-angle \alpha = 30^\circ, so \tan\alpha = 0.5774. Cut it with the plane z = 2 + 0.4 x, which tilts as it rises. Because the plane is steeper than the generators, the section is an ellipse.

  1. Substitute the plane into the cone equation. With z = 2 + 0.4x and (\tan\alpha)^2 = 0.3333, you get x^2 + y^2 = 0.3333\,(2 + 0.4x)^2.
  2. Expand: x^2 + y^2 = 0.3333(4 + 1.6x + 0.16x^2) = 1.3333 + 0.5333x + 0.05333x^2.
  3. Collect: 0.9467\,x^2 - 0.5333\,x + y^2 = 1.3333. The positive coefficients on both squared terms confirm an ellipse.
  4. Complete the square in x. The center sits at x_c = 0.2817, and the semi-axes come out to a = 1.264 along the tilt and b = 1.229 across it.
  5. The focal sum is 2a = 2.528. Focal distance from center is c = \sqrt{a^2 - b^2} = \sqrt{1.598 - 1.510} = 0.2966.

Now drop the Dandelin spheres in the tool. Measure PF_1 + PF_2 at four points around the ellipse. Each reads 2.528 to three decimals. The two focal marks sit 2c = 0.5932 apart along the major axis. That is the whole theorem, live.

The sum of the two focal distances stays flat at 2.528 as the point circles the ellipse. A horizontal line is exactly the point.

Reading and interpreting the numbers

The measure tools report distances, angles between lines and planes, areas and volumes. A few sanity checks keep you honest.

Angle between a line and a plane is measured from the plane, not its normal, so a line lying in the plane reads 0 and a line piercing straight through reads 90. Angle between two planes is the dihedral angle along their line of intersection. Two parallel planes give an intersection tool that returns nothing, which is the correct answer, not a bug.

For volumes, check against known formulas. A cone of radius 1 and height 3 has volume \tfrac{1}{3}\pi r^2 h = \pi \approx 3.1416. A regular tetrahedron of edge 1 has volume \tfrac{1}{12}\sqrt{2} \approx 0.1179. If your measured number matches to three or four figures, the construction is placed as you intended.

The eccentricity of a section ties directly to the angles: e = \cos\beta / \cos\alpha when \beta is measured from the axis. For the worked ellipse that is e = c/a = 0.2966/1.264 = 0.2346, a fairly round ellipse. Push the plane shallower toward \beta = \alpha and e climbs to 1, where the ellipse opens into a parabola.

A fixed cone of half-angle 30 degrees is cut by a plane whose tilt you set. When the plane is steeper than 30 degrees from the axis you get an ellipse and two focal marks with a constant distance sum; at exactly 30 degrees the curve opens to a parabola; below 30 degrees it becomes a two-branch hyperbola. The reported focal sum stays flat as a test point moves around the curve.

Common mistakes

Cross-sections and nets assume convex solids. If you build a concave polygon and extrude it into a prism, the cross-section tool may return a self-crossing outline and the net may overlap when it unfolds. Stick to the built-in solids, prisms of convex polygons, and pyramids.

A second trap is the ground-plane click. Clicking empty space drops a point on z = 0, not floating in mid-air. To put a point at height h, use point-by-coordinates with (0, 0, h), or drop a ground point and hold Shift to drag it vertically.

A third: the hyperbola looks incomplete. It is not. The board samples 240 generators and clips where they leave the drawn cone, so each branch simply stops at the edge of the model. Lengthen the cone and more of the branch appears.

Finally, do not read a relation-checker pass as a proof. When it says two planes stay perpendicular under random legal moves, it has tried many configurations and found no counterexample. That is a strong hint to go prove it, not the proof itself.

Related tools

If you want the flat version of this board, drag points and circles on the Dynamic Geometry Board. To spin the five perfect solids and check Euler's formula, try the Platonic Solids Explorer. For rotation in space by axis and angle, the Quaternion Rotation Visualizer reads off the quaternion, and the Tesseract Projection pushes the idea into four dimensions. To see how a matrix reshapes the plane before you lift into space, open the Linear Transformation Playground. And to plot functions of two variables as surfaces you can orbit, the 3D Surface Plotter uses the same camera.

Frequently asked questions

Why is the camera orthographic instead of perspective?

Orthographic projection keeps parallel lines parallel and draws spheres as true circles, so you can compare lengths along any direction by eye. Perspective would foreshorten distant parts and make equal edges look unequal, which defeats the point of measuring.

How do I know if my section is an ellipse or a parabola?

Compare the plane angle to the cone half-angle. Steeper than the generators gives an ellipse, exactly parallel to a generator gives a parabola, shallower gives a hyperbola. Numerically, the eccentricity e = \cos\beta / \cos\alpha equals 1 at the parabola and crosses from below to above 1 as you pass it.

What exactly do the Dandelin tangent points mark?

They are the foci of the conic. For an ellipse the sum of distances from any curve point to the two foci is constant and equals the major axis 2a. For a hyperbola the difference is constant and equals 2a.

Can I unfold any solid into a net?

Only convex solids. The net unfolds the faces along a spanning tree, and convexity guarantees the faces do not overlap as they lay flat. Non-convex shapes can self-intersect when unfolded.

Does everything run on my device?

Yes. All the geometry is computed locally in your browser. Undo, autosave and share links are built in, and no data leaves your machine.