ToolSphere
All Desmos art

Desmos Smiley Face Equations

A circle for the face, two small circles for the eyes, and part of a circle for the smile.

Smiley face drawn from its Desmos equations
4 equations, t from 0 to 1

The picture above is drawn from exactly these equations. Paste them into the first empty line of the Desmos graphing calculator; each line becomes its own curve.

How it is built

The smile is an arc: the same circle equation, but with the angle running over only part of a turn. Here it runs from 0.6 to 0.9 of a turn (216° to 324°), the bottom of a circle of radius 2.5 centred just above the middle:

(2.5 cos(0.6π t + 3.77), 0.5 + 2.5 sin(0.6π t + 3.77))

3.77 is 216° in radians, where the arc starts, and 0.6π is the 108° it sweeps. Lower the centre for a bigger grin; swap the range to 0.1–0.4 for a frown.

Press Copy all equations, open the Desmos graphing calculator, click into the first empty expression line and paste: each line becomes its own curve. Every curve uses t from 0 to 1, which is Desmos's default, so there is nothing to set up. Fill the face yellow and the eyes black.

Make your own

Frequently asked questions

How do I draw a smiley face in Desmos?

Draw a circle for the face, two small circles for the eyes, and the bottom part of a circle for the smile. This page has the four equations ready to paste.

How do I draw only part of a circle?

Use the parametric circle with a smaller angle range. Starting at angle a and sweeping b, it is (r cos(a + bt), r sin(a + bt)) for t from 0 to 1.