ToolSphere
All Desmos art

Desmos Star Equations (5-Point Star)

A five-pointed star is ten straight segments joining points that alternate between an outer and an inner radius.

Star drawn from its Desmos equations
10 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 ten corners sit every 36°, starting straight up, alternating between radius 5 (the tips) and radius 2 (the inner corners):

corner k = (r·cos(90° + 36°k), r·sin(90° + 36°k)),  r = 5 if k is even, else 2

Each segment joins one corner to the next. A bigger inner radius makes a fatter star; 1.9 makes the classic flag star.

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.

Make your own

Frequently asked questions

How do I draw a star in Desmos?

Join ten points that alternate between an outer and an inner radius with straight segments. The equations on this page paste straight in.

How do I make a star with more points?

For n points use 2n corners every 180°/n degrees, alternating outer and inner radius.