ToolSphere
All Desmos art

Desmos Pumpkin Pie Slice Equations

A Thanksgiving pumpkin pie slice drawn in perspective, with a triangular top, a thick side layer, a thin bottom crust and a pointed dollop of whipped cream.

Pumpkin pie slice drawn from its Desmos equations
15 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

Read the equations in order. Each numbered note matches one copied expression. All curves use the default parameter interval.

  1. The first top edge runs from the slice tip to the back-left corner.
  2. The back edge forms the upper crust.
  3. The second top edge returns to the slice tip.
  4. A short vertical segment gives the tip its thickness.
  5. The lower edge outlines the bottom of the filling.
  6. A vertical segment closes the back of the slice.
  7. A parallel lower line separates the thin bottom crust from the filling.
  8. An inset line marks the inner edge of the back crust.
  9. A short rising segment starts the left side of the whipped cream.
  10. A diagonal rises to the left cream fold.
  11. A steep segment reaches the pointed cream peak.
  12. A descending segment folds back from that peak.
  13. A diagonal makes the right cream fold.
  14. A descending segment reaches the base on the right.
  15. A nearly horizontal segment closes the cream dollop.

Change the thickness. Move the lower corners and the crust separator together to make a deeper slice. The blue cream outline distinguishes the topping in the preview; choose your own color after pasting.

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. Choose colors separately in Desmos; copied equations do not include preview colors.

Make your own

Frequently asked questions

How is the pie slice drawn?

Straight parametric segments form a triangular top and a thick side. Additional segments separate the crust and outline the whipped cream.

Is the pie filled with color?

No. This is an outline drawing. You can select orange for the pie and a different color for the cream in Desmos.

Can I remove the whipped cream?

Yes. Hide the final seven expressions, which draw only the cream dollop.