From picture to equations in one step
Graph artists usually build a picture in Desmos one equation at a time. This page starts from the picture instead: it finds the lines in your image, fits smooth curves to them, and writes each curve as a parametric equation you can paste straight into Desmos. A faint copy of your picture sits under the result so you can see how closely the equations follow it.
Two ways to find the lines
Photo / logo looks for edges: places where the picture changes sharply from light to dark. It uses Canny edge detection, the standard method in image processing, which keeps edges one pixel wide and joins weak edges to strong ones so outlines stay connected. Logos, cartoons, emojis and photos with a clear subject work well.
Line art looks for ink. It separates dark marks from the paper with Otsu's method, which picks the best threshold for the image automatically, then thins every mark to a one-pixel line. That way a pen stroke becomes a single curve rather than the two edges of the stroke. Use it for sketches, doodles, handwriting and coloring-book style drawings.
Getting a clean result
Simple, high-contrast pictures give the cleanest equations: a bold logo, a cartoon character, a sketch in dark pen on white paper. A busy photo has edges everywhere, which means many short lines. Choose Less picture detail and Smooth, crop the picture to the subject, or use one with a plain background. The tool always keeps the longest lines first and leaves out the shortest specks once the equation count gets high, so Desmos stays responsive.
Private by design
The picture is read and traced entirely in your browser. It is never uploaded, so you can use personal photos. Only the equations leave the page, when you copy them.
Where the equations come from
Each traced line is simplified to the points that matter to its shape, threaded with smooth cubic Bézier curves, and each curve is written as a pair of cubic polynomials (x(t), y(t)) for t from 0 to 1, Desmos's default range for parametric curves. The curves you see on the page are plotted from those same equations, so pasting them reproduces exactly what you see.
Pictures that make good graph art
For a class project or a Desmos art assignment, start from something with a clear silhouette: a sports-team or game logo, a cartoon character, an animal outline, a flower, a portrait drawn in pen, or your own doodle photographed on white paper. Text works too, though Name in Desmos writes words more cleanly. After pasting, color different parts separately, thicken the lines, and switch off the grid and axes from the wrench menu for a clean picture.
Hand-built or generated?
Teachers sometimes want the equations built by hand. In that case use the result as a reference: it shows which shapes the picture breaks into, and the Desmos graph art guide explains restricted lines, circles and parametric curves for rebuilding them yourself.
Ready-made Desmos art
Want something that already works? The Desmos art library has hand-built drawings (heart, flower, butterfly, Halloween pumpkin and ghost) with every equation explained, ready to paste.