ToolSphere

Fourier Series Drawing

Desmos art

Watch spinning circles (epicycles) redraw any sketch or picture with a Fourier series. Change the number of circles and save it as a video.

Watch circles trace the example. Change the detail, draw your own shape or choose a picture.

More circles adds detail; fewer circles makes a simpler shape. Speed changes how quickly it is drawn.

Save or share it

The video records exactly one loop (10 s at 1×), ready for Reels or Shorts. The Desmos equation adds up the biggest 60 circles as a single parametric curve for t from 0 to 1.

On this browser only

Give feedback

Did this tool help?

Tell us what worked, what didn’t, or what you’d like next.

Opens Google Forms in a new tab with this tool’s name filled in. No sign-in or email required. Feedback is optional.

Try next

How to use Fourier Series Drawing

  1. 1Watch the heart, or press Draw your own and sketch a shape (one continuous line works best), or press Use a picture.
  2. 2Move the Circles slider: a handful of circles gives a rough loop, a hundred traces every detail.
  3. 3Change the speed or hide the circles to see just the line being drawn.
  4. 4Press Record a video to save one loop for Reels or Shorts, or Copy as one Desmos equation to plot the whole drawing in Desmos.

About Fourier Series Drawing

Any drawing is a sum of circles

Put a circle on the end of another circle, each spinning at its own speed, and the point at the end of the chain traces a path. With the right sizes, speeds and starting angles, that path can be anything: a heart, a signature, a portrait. This is a Fourier series, and finding the right circles for a given drawing is exactly what the Fourier transform does. The animation made famous by 3Blue1Brown's video "But what is a Fourier series?" is this idea brought to life.

How the circles are found

Your drawing is resampled into 512 points spaced evenly along its length, and each point is treated as a complex number x + iy. The discrete Fourier transform turns those 512 points into 512 circles: circle k spins k times per loop (negative k spins the other way), and its radius and starting angle come from the transform. Add all 512 and you get the drawing back exactly. Sort them biggest first and something remarkable shows: the first ten already sketch the shape, and fifty or so are hard to tell from the original.

What the slider shows

The Circles slider keeps only the biggest circles. Slide it down to one and the pen just goes round a circle. Add a few and a blob appears; add more and corners sharpen, lines straighten, small details arrive last. That is how Fourier series approximate everything from sound to JPEG images: the big, slow components carry the overall shape, and fine detail lives in the many small, fast ones.

Make it yours

Draw with one continuous line for the cleanest result; separate strokes are joined end to end, and the joins show as straight lines. Pictures work best when they are bold and simple, such as a logo or cartoon. Record a video to get one full loop as a clip ready for Reels, Shorts or a presentation, or copy the whole drawing as a single Desmos equation: a sum of cosines for x and sines for y that plots the same shape.

Guides and tutorials

Frequently asked questions

What is a Fourier series drawing?

It is a drawing traced by a chain of spinning circles, each turning at a whole-number speed. The Fourier transform finds the size and starting angle of every circle so that the tip of the chain follows your drawing.

How many circles do I need?

Roughly ten give the overall shape, fifty look close to the original, and a hundred or more catch fine detail. All 512 reproduce the resampled drawing exactly.

Can I save the animation as a video?

Yes. Record a video saves exactly one loop as an MP4 or WebM file, depending on your browser, ready to post on Instagram Reels, YouTube Shorts or anywhere else. Recording happens in your browser; nothing is uploaded.

Can I plot it in Desmos?

Yes. Copy as one Desmos equation writes the biggest circles (up to 100) as a single parametric equation, a sum of cosines for x and sines for y with t from 0 to 1. Paste it into the Desmos graphing calculator to plot the same shape.

Why does my drawing have straight lines across it?

A Fourier series draws one closed loop, so separate strokes are joined end to end and the pen travels in a straight line between them. Draw the shape as one continuous line to avoid the joins.

Have a suggestion for Fourier Series Drawing?Share your feedback ↗