A fast and simple, pure Geometry Nodes implementation of the Fourier-series drawing mechanism - to any custom curve or visual. With two shader styles. Inspired by 3b1b's fabulous video on the topic.
The Fourier Drawing Machine steps up from simple rotating unit vectors in its precursor, the Wave upon Wave setup, to the complete drawing mechanism, built from the ground up in native Geometry Nodes. Inspired by 3Blue1Brown's video on Fourier series and drawing with circles - highly recommended.
Draw or edit any curve directly in Edit Mode, or import a custom SVG visual. The node is highly documented and labelled, and the tree computes the Fourier coefficients on the fly, chains the rotating circles and arrows tip-to-tail to redraw your contour. Because there is no baking needed, timeline scrubbing and live Edit Mode adjustments update instantaneously.
Every node tree and helper group is cleanly framed, color-coded, and documented step-by-step inside Blender with both in-tree InfoNodes and a complete in-file Text guide - so you can render out of the box, study the exact Geometry Nodes tree with ease, and modify it however you like.
▶ Video Demo: Demo (YouTube)
Check out The Escherizer - Seamless Escher Zoom Spiral from Any Image, explore 24,499 galaxies in The Laniakea Supercluster, or dive into emergent behavior with Ant Simulation - Order from Chaos.
Scroll to the Deep Dive at the bottom of this description (or check the in-file
Text guide) for the full intuitive walkthrough!What is Included:
Two clean, ready-to-use .blend versions with identical Geometry Nodes architecture, complete in-file written guides, and in-tree InfoNode annotations.
See the FAQ sections for customization and rendering notes.
-
Realistic Shader Version (EEVEE Optimized, Cycles capable): Metallic epicycle circles and arrows, mechanical joint decors, glowing tapered trail shader, studio lighting, and decoupled camera in the
Scenecollection. - Math Visualization Version: Classic clean presentation, MANIM-style, with black backdrop, cyan circles, white arrows, yellow trail, subtle reference contour, and orthographic camera.
-
Continuous-Line Test SVG (
Blender_Logo_Continuous_Line.svg): A single continuous closed contour sample ready for testing clean SVG imports without jump lines. -
Built-in Written and In-Tree Guides: Embedded 4-part
Textguide (Quick Start, Fourier Series intuition, Complex Fourier Series math, and Geometry Nodes breakdown) alongside the in-tree InfoNodes covering every section. -
Plus the dedicated
CAM_TRACKedition locked in XY to the drawing tip for close-up macro renders.
Open
My_Curves → select Demo_Curve → press Tab to edit or draw freely 1:1 in world space, or import any single-contour .svg into Imported_SVG and assign it to Target Collection on Fourier_Machine.Developer Notes
Workflow Tip: Opening the file for the first time? Press Spacebar to watch the epicycles trace Demo_Curve over 240 frames, then select Demo_Curve in My_Curves, press Tab, and move any control point while paused mid-draw - the entire Fourier decomposition recalculates live.
All node trees and helper groups are kept open, unlocked, and modular for readability. Everything is built in standard native Geometry Nodes from the ground up - the goal is to provide a transparent, easy to read, use and reuse node tree, rather than a black box.
Recommended Tools:
- Wave upon Wave — Fourier Series Rotating Unit Vectors
- The Escherizer — Seamless Escher Zoom Spiral
- 3D Möbius — Boy's Surface
✨ Blender 5.x Compatibility:
Built and tested natively for Blender 5.x (EEVEE & Geometry Nodes).
Concept Introduction
A Fourier series deconstructs any repeating signal - no matter how complex - into a sum of simple sine and cosine waves.
To break down a repeating pattern, you need a basic building block that repeats on its own. A sine wave is the simplest possible repeating motion, the smooth, continuous oscillation traced by a point moving around a circle. By stacking these sine waves on top of each other, their peaks and troughs reinforce or cancel out to carve sharper, more complex shapes.
Lay several of these waves on top of each other, shifted left or right, and add their heights together vertically at every point. Where peaks line up, they build a taller crest; where a peak meets a trough, they flatten each other out.
To deconstruct the shape this way, you only have three adjustments for each of these building-block waves: how fast it oscillates (frequency), how tall it is (amplitude), and how far left or right it is shifted (phase).
Now, working backward - taking an existing repeating signal and finding its exact recipe—starts by narrowing down the frequencies.
You don't have to guess from an infinite range. Because the original signal repeats over a fixed cycle, every building-block wave must fit cleanly inside that exact same window - completing 1 full oscillation, 2, 3, and so on. Any wave that doesn't finish cleanly at the boundary would break the repeating pattern. These locked-in whole-number multiples are called harmonics.
So we are trying to find the building-block sine waves. With the allowed frequencies fixed, you test the signal against each harmonic one by one. You lay a single test wave over the signal and measure how closely their highs and lows match across one full cycle. Strong alignment means that frequency is heavily present (high amplitude); if the overlaps cancel out to zero, it isn't in the mix.
A frequency might be in the signal, yet shifted left or right so its peaks miss your test wave. Rather than sliding the test wave around to hunt for the best fit, you test each harmonic twice using two fixed versions - a sine wave and a cosine wave (the exact same wave, shifted by a quarter cycle). Measuring both automatically captures the wave's exact timing shift (phase) alongside its strength.
If you compare any two different harmonics over one full cycle, they spend just as much time aligned as they do opposed - their overlap cancels out to exactly zero. So during each test, every other harmonic in the signal cancels itself out, leaving only the strength of the harmonic you are currently measuring.
Repeat this check down the list - 1st harmonic, 2nd, 3rd, and so on - and you get the complete recipe, with every frequency isolated cleanly!
A Fourier drawing machine takes this exact same idea from a 1D signal (moving up and down) and brings it into 2D space to trace any closed drawing - a signature, a silhouette, or a face.
To turn a drawing into a repeating signal, imagine tracing its closed outline continuously without lifting your pen. Because the shape loops back to where it started, the pen's path repeats over and over in a fixed cycle.
Earlier, a sine wave was just the up-and-down motion of a point moving around a circle. For a 2D drawing, the pen needs to move left-right and up-down at the same time. So instead of flattening the circle into a wave, you keep the full circle - a rotating arrow spinning at a steady speed.
With 1D waves, you stacked them by adding their heights vertically. With 2D arrows, you stack them tip-to-tail - pinning the base of the second arrow to the tip of the first, the third to the tip of the second, and so on. Attach a pen to the tip of the very last arrow. As the chain spins, the arrows pull and push against each other to trace a complex curve.
To sculpt a specific drawing, each arrow has the exact same three adjustments as a wave:
- Speed (frequency): How fast it spins. Just like before, speeds are locked to whole-number multiples so every arrow finishes cleanly at the end of the loop - 1 rotation, 2, 3, and so on - except now an arrow can spin either clockwise or counterclockwise.
- Length (amplitude): How long the arrow is.
- Starting angle (phase): Which direction it points at the start of the loop.
A single spinning arrow can only trace a perfect circle. To draw any custom curve, you need arrows spinning in both directions at the same speed - one counterclockwise (+1) and one clockwise (-1) pulling against each other.
That gives you the full list of allowed speeds: 0 (a stationary arrow that simply shifts the center of the drawing into place), followed by opposing whole-number pairs: +1 and -1, +2 and -2, +3 and -3, and so on.
Why chain them in 0, 1, -1, 2, -2 order? Tip-to-tail addition doesn't care about order - the pen at the end of the chain traces the exact same shape however you shuffle the arrows. Ordering them from slowest to fastest (0, 1, -1, 2, -2...) simply puts the big strokes at the base of the chain and the fast, tiny detail arrows on the tip.
Now, working backward from an existing drawing: remember, we are treating the drawing as the path of a pen driven by a hidden chain of arrows, each spinning at its own whole-number speed (0, +1, -1, +2, -2...). Our goal is to isolate and measure one arrow at a time - say, the +2 arrow.
Imagine the pen tracing one full loop of the drawing on a sheet of paper. Now place that paper on a turntable and spin the turntable backward at -2 rotations per loop while the pen traces.
From your fixed view above the turntable, spinning the paper backward subtracts 2 from the speed of every arrow in the chain. The +2 arrow drops to 0 - it freezes completely still, pointing at its exact starting angle and length. Every other arrow is still spinning at some non-zero whole-number speed.
As you watch the pen move above the spinning turntable, it traces out a new, looped path. Imagine taking thousands of evenly spaced snapshots of the pen's position over one full loop and finding their average (the center of mass of all those dots).
Because the pen's position at every snapshot is just all the arrows added together, the average position of the pen is simply the sum of each arrow's individual average.
Now check what each arrow averages to over one full loop: every spinning arrow averages to zero. Because each one completes exact whole circles, for every moment it points in one direction, it spends an equal moment pointing the exact opposite way - canceling itself out. The frozen +2 arrow averages to itself. It's static, so it sits at the exact same length and angle in every single snapshot.
Add all those averages together and every spinning arrow drops out as zero, leaving only the tip of the frozen +2 arrow. That single average point gives you its exact length and starting angle in one shot. Change the turntable speed to freeze 0, +1, -1, +2, -2 one by one, and you measure the entire chain.
And there you have it - your Fourier Drawing Machine!