The Fourier Drawing Machine to Any Visual - In Pure Geometry Nodes
1. What is a Fourier Series? (High Concept)
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 a shape this way, you only have three adjustments for each building-block wave: how fast it oscillates (frequency), how tall it is (amplitude), and how far left or right it is shifted (phase).
Working backward — taking an existing repeating signal and finding its exact recipe — starts by narrowing down the frequencies. 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.
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.
2. How the Fourier Drawing Machine Works (High Concept)
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.
Each arrow has the exact same three adjustments as a wave:
Speed (frequency): Locked to whole-number multiples so every arrow finishes cleanly at the end of the loop (1, 2, 3 rotations...) - except now an arrow can spin counterclockwise (+) or clockwise (-).
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 the full list of allowed speeds: 0 (a stationary arrow that shifts the center of the drawing into place), followed by opposing whole-number pairs: +1, -1, +2, -2, +3, -3... Tip-to-tail addition doesn't care about order; ordering them from slowest to fastest simply puts the big strokes at the base of the chain and the fast, tiny detail arrows near the tip.
Working backward (the turntable trick): Treat the drawing as the path of a pen driven by a hidden chain of arrows, and suppose you want to isolate just the +2 arrow. Imagine the pen tracing one full loop on a sheet of paper placed on a turntable spinning backward at -2 rotations per loop. From above, spinning the paper backward subtracts 2 from every arrow's speed: the +2 arrow drops to 0 and freezes completely still at its exact length and starting angle, while every other arrow keeps spinning at some non-zero whole-number speed.
Now take thousands of evenly spaced snapshots of the pen's position over one full loop and find their average (center of mass). Because every spinning arrow completes exact whole circles, it spends equal time pointing in opposite directions and averages to zero. Only the frozen +2 arrow survives - averaging directly to itself. That single average point gives its exact length and starting angle in one shot. Repeat for 0, +1, -1, +2, -2... and you measure the entire chain.
Can I trace my own curves, signatures, or SVG logos?
Yes. Either edit Demo_Curve inside My_Curves directly in Edit Mode, drop your own Blender curve into My_Curves, or import any .svg via File -> Import -> Scalable Vector Graphics (.svg) and assign its collection to Target Collection on Fourier_Machine.
Why does my imported SVG have straight lines jumping across empty space?
A Fourier drawing machine traces one continuous closed loop without lifting the pen. If an SVG contains multiple disconnected shapes (such as separate letters or inner holes), the path must jump across empty space to connect them. For the cleanest result, use a single continuous closed contour.
How many epicycles should I use for sharp corners or complex SVGs?
60 is a clean default for smooth shapes. For crisp corners or intricate SVGs, raise Epicycles to 80–150. The tree automatically increases curve sampling (max(256, Epicycles * 4)) so high-frequency harmonics remain accurate without aliasing.
How do I adjust the trail thickness or the tapered spearhead tip?
Open GN_Fourier_Trail -> Frame 3 (Taper and Trail Mesh). Adjust the Spearhead Taper Float Curve to reshape how sharply the tip narrows and how the tail thins out, or change the Curve Circle radius right below it to scale the overall trail thickness.
My imported SVG came in tiny or off-center — how should I handle it?
Curves are traced 1:1 in world space so your Edit Mode handles always match the drawn contour. You can either scale and position your imported SVG in the viewport to match the scene scale, or simply adjust the trail's Curve Circle radius inside GN_Fourier_Trail and reframe Camera (which is fully decoupled in the Scene collection).
How do I customize the appearance of the circles, arrows, or materials?
Click the Eye icon on Machine_Assets in the Outliner to unhide Asset_Circle and Asset_Arrow, then edit their geometry or materials directly (re-hide the collection when finished). Trail and reference contour materials can be edited in the Shader Editor or swapped on the Set Material nodes in GN_Fourier_Trail and Fourier_Drawing_Machine.
Are the node trees unlocked so I can inspect and learn the math?
Yes - completely open and unlocked. All nodes are framed, color-coded with local yellow Group Input hubs, annotated with 17 in-tree InfoNodes, and paired with a full 4-part written Text guide inside Blender.
What is the difference between the standard and Camera-Tracked versions?
The standard versions keep the node trees completely minimal with a free, decoupled Camera in the Scene collection. The CAM_TRACK versions add a single non-rendering pen_tip tracker vertex driven directly by the epicycle sum and a Track Pen Tip (XY) Copy Location constraint on Camera - locking X and Y smoothly onto the drawing tip while leaving Z free to zoom in or out (or keyframe the constraint's Influence from 0 -> 1 for a seamless glide into macro detail).
Discover more products like this
epicycles 3blue1brown procedural math SVG fourier series geometry nodes educational drawing with circles fourier math visualization motion graphics