Three Distance Functions in 3D

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

This Demonstration lets you explore the different distance functions available in Mathematica.


The 3D contour plot shows the distance of a point to a target point. You can select the target point with a 2D slider for the and values and a slider for the value.

You can slice through the contour plot with different sets of planes to explore the inside of the plot to see the result of the different distance functions.


Contributed by: Erik Mahieu (August 2016)
Open content licensed under CC BY-NC-SA




Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.