3D Graph Documentation

3D Graphing Calculator Documentation – ClippyTools
3D Graphing Calculator Docs Open the calculator

Graph surfaces, curves, points and vectors in 3D

This guide covers every equation type, slider, range and function in the free 3D graphing calculator at ClippyTools. Every equation on this page has a Copy button: copy it, then paste it into an equation box in the calculator.

Quick start

  1. Open the calculator. Two equations are already drawn, and eight more examples are hidden.
  2. Click an equation box, type or paste an equation, and wait a moment. The graph updates by itself.
  3. Drag the graph to rotate it, scroll to zoom, and use the eye button on a row to show or hide it.

Try pasting this into a new row (press Add Surface first):

z = sin(x) * cos(y)

All surfaces are solid. A surface in front blocks whatever is behind it, so an object inside a sphere is hidden until you look from inside.

Ready to try the equations yourself?

Open the 3D graphing calculator

Equation types

The calculator decides the type from how you write the equation. The small badge at the left of each row shows what it understood.

TypeHow to write itVariablesExample
Explicit surface Sz = f(x, y) or just an expressionx, yz = x^2 - y^2
Implicit surface IAny equation with = that is not z = ...x, y, zx^2 + y^2 + z^2 = 25
Parametric curve Px = ..., y = ..., z = ... using ttx = cos(t), y = sin(t), z = t/3
Parametric surface PSame format, using v as wellu, vx = 3*cos(u), y = 3*sin(u), z = v
Point •(x, y, z)sliders only(2, 2, 2)
Vector →vector((tail),(tip))sliders onlyvector((0,0,0),(1,2,3))
Slider =A letter set to a numbernonea = 2

How each type is drawn

  • Implicit surfaces are drawn by the graphics card (GPU raymarching), so they stay sharp at any zoom. They support a fixed list of functions (see Functions).
  • Explicit and parametric graphs are built as meshes (80×80 points for explicit surfaces, 60×60 for parametric surfaces, 400 points for curves). Undefined points, such as 1/x at 0, leave a gap.
  • The spaces and capital letters in implicit equations do not matter: X^2 and x^2 are the same.

Sliders

Use any letter that is not x y z t u v and not already a math name (e, pi, sin and so on). A slider appears under the equation rows.

z = a * sin(x) * cos(y) creates a slider named a.

  • You can also define one on its own row: r = 5 sets the slider r to 5.
  • A new slider starts at 1 with a range of −10 to 10. Edit the min and max boxes to change the range. Typing a value outside the range widens it.
  • Press ▶ to animate. The value sweeps between min and max in about six seconds and bounces back.
  • Sliders are shared: every equation that uses a uses the same value.
  • Sliders appear only for rows that are visible, so hidden examples do not add sliders until you show them.
  • Implicit surfaces update instantly when you drag. Meshes are rebuilt as you drag, which can be slower on weak devices.

Sliders also work inside ranges and restrictions: x = cos(t), y = sin(t), z = t/3 {0<=t<=b}

Ranges and restrictions

Put conditions in curly braces after the equation. Separate several conditions with commas, which means "and".

Parameter ranges

Defaults: curves use t from −π to 3π, parametric surfaces use u and v from −π to π, and explicit surfaces cover the visible cube.

  • x = cos(t), y = sin(t), z = t/3 {0<=t<=6*pi} gives three turns.
  • x = u, y = v, z = u*v {-2<=u<=2, -1<=v<=1} sets both ranges.
  • z = sin(x)*cos(y) {-3<=x<=3} limits the domain of an explicit surface.
  • Bounds can be any expression, such as 2*pi. Use <=, < or ≤, and either order: {6>=t>=0}.
  • The older form also works: x = cos(t), y = sin(t), z = t/3, t = 0..6*pi

General restrictions

Keep only the part of a surface or curve where a condition is true. This works on every equation type.

  • z = x^2 + y^2 {x^2+y^2<=9} a bowl cut at radius 3
  • x^2 + y^2 + z^2 = 25 {z>=0} the top half of a sphere
  • x^2 + y^2 + z^2 = 25 {-2<=x<=2} a slab of a sphere
  • z = x*y {z>0, x<2} two conditions together
Cut surfaces are open, not capped, so a half-sphere looks like a bowl. Meshes are cut cleanly at the boundary, but the edge is only as accurate as the mesh grid. Restrictions on implicit surfaces accept only the GPU function list. There is no "or" between conditions.

Points and vectors

  • Point: (1, 2, 3) draws a small sphere.
  • Vector from the origin: vector((1,2,3))
  • Vector between two points: vector((0,0,0),(1,2,3)) goes from the first to the second and ends in an arrowhead.
  • Coordinates can use sliders: (a, 2*b, 3)
  • Items outside the visible cube are hidden, and a vector that crosses the edge is trimmed.
  • Surfaces are solid, so a point or vector inside a sphere or under a surface cannot be seen from outside. Hide the other row with its eye button.

Functions and operators

Operators everywhere: + − * / ^, brackets, and the constants pi and e.

Implicit surfaces and their restrictions (GPU)

GroupSupported
Roots and powerssqrt cbrt pow(a,b) square cube hypot
Trigonometrysin cos tan sec csc cot asin acos atan atan(y,x) atan2(y,x)
Hyperbolicsinh cosh tanh
Exponentials and logsexp log (natural) ln log(x, base) log2 log10
Rounding and signabs floor ceil round(x) round(x, digits) sign fract
Othermin and max (up to 6 values) mod(a,b) and a % b

Not available on the GPU: asinh and the other inverse hyperbolics, nthRoot, gamma, factorial, conditionals (? :), logic, random, matrices, strings, complex numbers, and constants other than pi and e. These show the red ? badge. Wrong argument counts, such as sqrt(x, y), also show ?.

Tip: x^(1/3) is undefined for negative x on the GPU. Use cbrt(x) instead. tan jumps to huge values near π/2, so expect steep sheets there.

Explicit, parametric, points, vectors, ranges (CPU)

These use the full math.js function library: everything above plus asinh, nthRoot, factorial, gamma, mod and more. Anything that returns a complex number (for example sqrt(-1)) is treated as undefined and leaves a gap. random gives a different value at every point, so it looks like noise.

Controls and settings

ActionHow
RotateDrag. A quick flick keeps spinning until you click or touch again.
PanRight-drag (3D), or drag in 2D mode. One finger in 2D on touch screens.
ZoomScroll, pinch, or the + and − buttons. The range readout (±) shows the visible size, from ±0.5 to ±100.
ResetThe ⌂ button restores view, zoom and position.
2D / 3D2D shows the XY plane from above. 3D is the rotating view.
Preset viewsFront, Right, Top and Iso buttons (3D only).
123Shows or hides the numbers along the axes.
Axes & gridToggle for the axes, labels, box and grid.
Snap to axesWhen on, a slow drag that ends near an axis-aligned view snaps to it.
Ray stepsQuality of implicit surfaces, 32 to 384 (default 32). Raise it if thin or sharp surfaces show gaps or noise. Lower it for speed.

Rows

  • Up to 30 rows. Each has a colour picker, an eye button (show or hide) and a × button (remove). One row always stays.
  • Badges: S surface, I implicit, P parametric, = slider, • point, → vector, ? not understood (red outline), ∅ nothing to draw in the current range.
  • The graph updates about a quarter of a second after you stop typing.

The calculator uses WebGPU when your browser has it, and falls back to WebGL2. It needs one of them, so very old browsers may show an error instead of the graph.

Examples you can copy

Press Copy next to any equation (or click the equation), then paste it into an equation box in the calculator.

Copied an equation? Paste it in the calculator.

Go to the 3D graphing calculator

Troubleshooting

ProblemWhat to do
I can't see my graphAnother solid surface may be in front. Hide other rows with the eye button, zoom out, or check that the equation fits inside the visible range.
Point or vector is missingIt may be inside a sphere or under a surface. Hide that row, or use coordinates outside it.
Red ? badgeThe text is not understood. Check brackets and commas, and that implicit equations use only the GPU function list. For restrictions, use one of <=, >=, <, >.
∅ badgeThe equation is valid but nothing is drawn in the current range. Widen a range, zoom out, or check a restriction.
Gaps or noise on an implicit surfaceIncrease Ray steps.
Slow while dragging a sliderLower Ray steps, hide unused rows, or avoid sliders in large mesh surfaces.
A surface vanishes after adding a restrictionThe restriction may use a variable the equation does not have, such as t on a plain surface.
Graph does not loadYour browser needs WebGPU or WebGL2. Update it, or try a current Chrome, Edge, Firefox or Safari.

Current limits

  • Graphs cannot be saved or shared yet.
  • Inequality solids such as x^2+y^2+z^2 <= 25 are not supported yet. Use an equation with a restriction instead.
  • Cut implicit surfaces are open, not capped.
Open calculator