3Understand the shape
Explore cross-sections
How to use this demo
Sliders show continuous coarse previews of the latest parameters. After about 220 ms of stable input, detail increases in stages. Preview sampling adapts to draw time, targeting at most 20 updates/s; actual speed depends on the computer. Manual quality sets the final detail. Contour lines return after input settles.
Left-drag grabs and rotates the figure in 3D; the near side follows the pointer. Right-drag turns the picture clockwise or counterclockwise about the coordinate origin, like a steering wheel, without changing the viewing direction. Hold both mouse buttons and drag to pan; no Shift key is needed. Scroll to zoom. X, Y and Z view look toward the origin from the positive axis using orthographic projection. Sliders preserve your current view. Reset view returns to the default first-octant perspective.
Edit the three coefficient boxes beside x, y and z, and the Q box on the right. Signed decimals are supported. The arrows above and below each variable change its exponent from 0 to 4; a zero-degree term uses the constant 1. Incomplete or out-of-range entries retain the previous value. Press Enter or leave the field to finish.
Choose a preset, then vary coefficients, exponents and Q. A zero coefficient removes that term. Number fields accept finer values than the sliders.
In explicit mode, Q translates the surface along the solved axis. In implicit mode, Q selects a level set and can change the surface type.
Changing one exponent from 2 to 1 does not automatically make a saddle. After solving for the linear variable, same-sign squares give an elliptic paraboloid; opposite-sign squares give a saddle.
Quadrics use analytic geometry. General cubic and quartic surfaces use a 29³, 41³ or 57³ sampling grid. For small features, reduce the range and increase quality. Transparent surfaces may show depth-order artifacts.
Plotly.js 3.1.0 (MIT) is embedded. Plotly documentation