surface example

3D Distance Field Surface Graph

A surface showing distance to the nearer of two points.

z = min(sqrt((x - 2)^2 + y^2), sqrt((x + 2)^2 + y^2))

Quick facts

  • Formula: z = min(sqrt((x - 2)^2 + y^2), sqrt((x + 2)^2 + y^2))
  • Category: surface
  • Tags: surface, calculus, z=f(x,y)

What this graph represents

The ridge marks where both points are equally near.

Where it appears in calculus

This connects geometry, optimization, and Voronoi regions.

How to use this graph

  1. Rotate the surface by dragging with your mouse or finger
  2. Use the Embed button to copy an <iframe> for your LMS or lesson page
  3. Click PNG to export a classroom-ready image
  4. Click Formula or LaTeX to copy the equation for your notes

Embed this graph

Use the Embed button in the calculator to copy a ready iframe for blogs, LMS pages, and lesson notes.

Open embed page

Teacher prompt

Question: What does the ridge represent?

Answer: The ridge is where the two source points are equally close.

Related graphs

Explore more surface examples and compare shapes, slices, and contour behavior.

Explore more tools

Use these free browser tools to extend your graphing workflow.