3D Surface Plotter
Plot a surface z = f(x, y) as an interactive wireframe you can rotate, with four preset shapes. Runs in your browser.
A surface drawn from a grid of samples
Choose one of four preset surfaces — the saddle x² − y², the ripple sin(√(x² + y²)), the Gaussian bump e^(−(x² + y²)) or the monkey saddle x³ − 3xy² — then set the amplitude and the viewing elevation. The page evaluates 441 points on a 21 × 21 grid over x, y ∈ [−3, 3] and draws the wireframe on a canvas with a fixed orthographic projection. Rotate spins the azimuth with an animation frame; Stop cancels it.
The grid is deliberately coarse. A dense mesh hides curvature in a wall of lines, and a coarse one shows the shape while multiplying 441 samples in a tab. The plot is a picture of the chosen preset, not a general expression evaluator: it will not accept an arbitrary formula, and it does not compute area, volume or gradient.
Every sample is evaluated in this tab and drawn on a local canvas. Nothing is uploaded, no surface is stored, and reloading the page returns to the default saddle at the same amplitude.
Plot one of four surfaces — saddle x² − y², ripple sin(√(x² + y²)), Gaussian bump e^(−(x² + y²)) or monkey saddle x³ − 3xy² — as a 21 × 21 mesh over x, y ∈ [−3, 3], with an amplitude and a viewing elevation you set.
It is a coarse wireframe drawn on a canvas in this tab: the grid is deliberately coarse so the curvature stays visible, the peak |z| is printed, and nothing is uploaded.
How to use it
Pick a preset, set the amplitude and the elevation angle, then press Plot. Rotate starts a spin loop and the same button reads Stop rotation while it runs; the view is a projection of the same 441 samples, not a second dataset.
What the grid is
The grid is 21 × 21 = 441 samples over x, y ∈ [−3, 3]. A dense mesh would hide the very thing the page exists to show, so the sample count is fixed and stated rather than raised.
Where it stops
Four named surfaces only, one fixed domain and one fixed grid. The drawing is a projected wireframe, not a shaded or lit render, and there is no export: a plot worth keeping is reproduced from the same preset, amplitude and elevation.
What to Expect
Best for
- seeing how a saddle, a bump and a monkey saddle differ in curvature
- checking a function's shape before writing it into code
What this tool keeps
- The 441 samples and the projection are computed in this tab, so the page works offline once loaded and stores nothing.
Frequently asked questions
How do I plot a surface?
Choose one of the four presets, set the amplitude and the elevation, then press Plot. Rotate spins the same plot; pressing it again stops the spin.
Why is the grid so coarse?
Because 441 samples show curvature that a dense mesh smooths into a solid surface. The count is fixed and printed under the controls rather than being a hidden quality setting.
Is anything uploaded, or can I save the plot?
Nothing is uploaded — the samples are evaluated in this tab. There is no export button either: to keep a view, note the preset, amplitude and elevation and redraw it.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.