ToolSphere
Back to all articles
student

How to Write Your Name in Desmos (Equations)

2026-10-216 min read

Try it: free Name in Desmos

Turn your name into equations that draw it in Desmos

Open →

Writing your name in Desmos is a classic first graph-art project: every letter is a few equations, each drawn only over a small range. Once you know three tricks (restricting a line, drawing a vertical line, and drawing part of a curve), you can write any word.

All the letters below are 2 units wide and 4 units tall, sitting on the x-axis.

Trick 1: restrict a line with curly braces

A plain equation like y = 2 draws a line across the whole screen. Add a condition in curly braces and Desmos only draws it where the condition is true:

y = 2 {0 ≤ x ≤ 2}

That's a horizontal bar from x = 0 to x = 2. Type <= and Desmos turns it into ≤.

Trick 2: vertical lines use x =

A vertical stroke can't be written as y = something, so write it as x = a number and restrict y instead:

x = 0 {0 ≤ y ≤ 4}

Letter by letter: H and I

H is two uprights and a crossbar:

x = 0 {0 ≤ y ≤ 4}
x = 2 {0 ≤ y ≤ 4}
y = 2 {0 ≤ x ≤ 2}

I, placed after a gap at x = 3:

x = 3 {0 ≤ y ≤ 4}

You've written "HI".

Slanted strokes: A

Slanted lines are ordinary y = mx + b lines, restricted. For an A peaking at (1, 4):

y = 4x {0 ≤ x ≤ 1}          left leg
y = −4x + 8 {1 ≤ x ≤ 2}     right leg
y = 2 {0.5 ≤ x ≤ 1.5}       crossbar

Check the crossbar: at x = 0.5 the left leg is at y = 4 × 0.5 = 2, and at x = 1.5 the right leg is at y = −4 × 1.5 + 8 = 2. Both ends meet the legs exactly.

Trick 3: curves, full and partial

O is an ellipse 2 wide and 4 tall, centred at (1, 2):

(x − 1)² + (y − 2)²/4 = 1

C is part of that ellipse, so write it as a parametric curve, which lets you choose exactly which part to draw:

(1 + cos(t), 2 + 2 sin(t))

Desmos shows a range for t under the equation (0 to 1 by default). Set it to 0.785 to 5.498 (π/4 to 7π/4), and you get the ellipse with a gap on the right: a C.

Moving letters along

To put a letter further right, replace every x with (x − shift). The A shifted 3 units right becomes:

y = 4(x − 3) {3 ≤ x ≤ 4}
y = −4(x − 3) + 8 {4 ≤ x ≤ 5}
y = 2 {3.5 ≤ x ≤ 4.5}

For vertical lines just add the shift (x = 0 becomes x = 3), and for parametric curves add it to the first coordinate. A gap of 1 unit between 2-unit letters reads well.

How many equations does a name take?

Rough counts with this style: straight letters like E, F, H, K, N, Z need 3–4 lines; curved ones like B, D, P, R, S need parametric pieces, 2–4 each. A five-letter name is usually 12–20 equations. Turn off the grid (wrench icon → uncheck Grid) and the axes for a clean result, and thicken the lines from each equation's colour menu.

The fast way

Writing every equation by hand is good practice, but tedious for a long name. The name in Desmos generator does it for you: type your name, and it writes each letter as smooth parametric curves, (x(t), y(t)) with t from 0 to 1, in the format Desmos accepts when pasted. Copy them, click the first empty line in Desmos and paste; each equation lands on its own line.

Common problems

  • Nothing shows up: check that the restriction is in curly braces { } after the equation, not round brackets.
  • A vertical line won't draw: write it as x = number {condition on y}.
  • A parametric curve shows only a tiny arc: the t range is still 0 to 1. Change it under the equation.
  • Letters overlap: you shifted the equation but not its restriction. Shift both.

Going further

For pictures instead of words, the graph art guide covers shading and parametric drawings, and the drawing to equations and image to equations tools turn a sketch or a photo into Desmos equations the same way the name generator does.

For pictures to go with your name, the Desmos art library has a heart, a flower, a star and more, ready to paste.

Looking for other tools?

Explore ToolSphere Homepage →