← BACK TO BLOG

How to Make the Math Lady Floating Equations Meme

To make the floating equations meme, film someone staring into the middle distance, then composite a green-screen equation overlay above that footage and chroma-key the green out. BeamTracer's Flying Equations visualizer generates the overlay free in Chrome with its KEY GREEN preset; CapCut, DaVinci Resolve, Final Cut Pro or After Effects do the composite.

Hi, I'm Trina with BeamTracer.com — this post covers where the floating-equations meme actually comes from and how to make it yourself.

You know the image: someone stares into the middle distance while glowing trigonometry orbits their head. It's the universal shorthand for calculating intensely and understanding nothing — and it comes from exactly two places: a Brazilian telenovela and a Zach Galifianakis blackjack scene.

What do you need to make the floating equations meme?

A face holding still, an equation overlay on a green background, and something that can chroma-key one over the other. Which tool you use depends on whether you want a static image, a phone edit, or a shot that survives a big screen.

You want to...Do this
Make the classic four-panel imageimgflip's Math Lady template, 30 seconds
Put equations on a video, freeCapCut + a green-screen equation overlay
Generate the equation overlay itselfBeamTracer Flying Equations, free, in Chrome
Broadcast-quality versionFinal Cut Pro + Motion, or After Effects with per-character 3D

Who is the Math Lady, and is she Julia Roberts?

She is not Julia Roberts. The confused woman is Renata Sorrah, one of Brazil's most celebrated actresses, playing the villain Nazaré Tedesco in TV Globo's telenovela Senhora do Destino (2004–2005). In the original scene there is no math at all — just Nazaré in jail, running through a scheme in her head with maximum suspicion.

The timeline, for the record:

  • 2013 — the scene circulates as a reaction GIF on forums and Brazilian social media.
  • July 2016 — a 9GAG post overlays four stills with glowing trigonometry and geometry diagrams. "Math Lady" is born.
  • October 2016 — the format crosses into English-language Twitter during the US election-forecast frenzy and never leaves.
  • 2025 — Globo's 60th-anniversary special has Sorrah reprise the character with equations floating around her. The meme is now canon.

An astonishing number of people find this meme by searching for a "confused Julia Roberts math GIF." It is not Julia Roberts. It is also not Sarah Paulson, Katee Sackhoff, or Claire Danes — all documented wrong guesses (Sackhoff's review of the comparison: "I don't see it"). Sorrah has embraced the confusion; by her own account her nephew introduces her in New York as "the Math Lady."

Are The Hangover's floating math equations real card counting?

No. The meme's cinematic sibling is Alan (Zach Galifianakis) counting cards in The Hangover (2009) — his eyes dart around the blackjack table while equations materialize around his head — and almost none of that math has anything to do with blackjack.

Harvard mathematician Oliver Knill, who catalogs math scenes in movies, describes Alan's floating thoughts as running "from simple arithmetics to Fourier theory." Freeze-frame and you'll spot derivatives, the ∇ operator, and something suspiciously close to a Schrödinger equation — prompting one blackjack forum to ask when exactly quantum mechanics became required for card counting.

Actual card counting is almost insultingly simple by comparison. The Hi-Lo system is:

  • 2–6 → +1
  • 7–9 → 0
  • 10s and aces → −1

Keep a running total, bet big when it's high. That's it. One addition per card. But a guy silently adding 1 to a number is not cinema — floating Fourier transforms are cinema. The filmmakers chose flair over accuracy, and honestly, they were right: it gave us the meme.

Both memes share one visual recipe: a face holding still + equations drifting in 3D space around it. Here's the ladder, from free to professional.

How do you make the classic four-panel Math Lady image?

Use a meme generator — for the static four-panel version, imgflip's Math Lady template is the fastest path. Add your caption, done. Kapwing and Canva have similar meme generators with animated text if you want a lightweight video version. Total time: about thirty seconds, no account, no editing skill.

How do you put floating equations around your own face in CapCut?

Film yourself thinking hard, drop a green-screen equation clip on top, and use CapCut's Chroma Key to knock the green out. This is how most TikTok versions are made, it's free, and it takes about ten minutes.

  1. Film yourself (or your victim... friend) staring into the distance, thinking hard.
  2. Get an equation overlay clip on a green screen background — search CapCut's library for "math equations green screen," or generate your own (next section).
  3. Add the overlay above your clip, apply Chroma Key, and pick the green.
  4. Lower the overlay's opacity slightly and add a touch of blur or glow so it reads as "thoughts," not stickers.
  5. Duplicate the overlay layer at a different scale for cheap depth.
  6. Export the finished composite from CapCut as an MP4.

CapCut overlays are flat

The equations sit on a plane instead of floating around the subject, and everything drifts at the same speed. Fine for a joke — but it won't fool anyone who has seen the real scene, and that's the ceiling of this level.

How do you generate the equation overlay in your browser?

BeamTracer's Flying Equations visualizer renders typeset formulas, geometric constructions, molecules, and physics diagrams flying through genuine 3D space with depth of field — live, in Chrome, driven by whatever music is playing. Its KEY GREEN preset is built for this exact job: flat broadcast green (#00b140), glow suppressed so the matte edges key cleanly, white ink.

Switch CORE to IDEA BURST and the equations radiate outward from a point you position — put the emitter over your head in the composite and your thoughts visibly escape your skull, which is the entire Hangover framing:

  1. Open Flying Equations in Chrome or Edge — it needs WebGPU.
  2. Start the demo track or load your own audio so the field has something to react to.
  3. Apply the KEY GREEN preset.
  4. For the out-of-the-head look, set CORE to IDEA BURST, then move EMITTER X and EMITTER Y to where your head will sit in the composite.
  5. Choose a CONTENT SETPHYSICS gets you the Hangover's Schrödinger vibes, GEOMETRY gets you Math Lady's cones and triangles.
  6. Go fullscreen with Ctrl+F and screen-record it — macOS Shift+⌘+5 writes a MOV, Windows Game Bar and OBS write an MP4.
  7. Drop that recording into CapCut or your editor and chroma-key the green exactly as in the section above.

Play the soundtrack while you record

The field reacts to audio, so the equations pulse with the music in the final composite. A static overlay pack cannot do that, and it is free — just have the track playing before you hit record.

Which desktop editor should you use for a broadcast-quality version?

Any of the three below, and the choice is mostly which app you already own. All of them can genuinely orbit equations around a face in 3D; what changes is how much of the drift you have to keyframe yourself.

DaVinci Resolve (free) — and why iMovie won't cut it

Resolve's Fusion page does real 3D text with keyframed transforms, depth of field, and glow — the free step up when you want the equations to genuinely orbit. iMovie, for the record, tops out at basic titles: no 3D, no per-character control. You'll outgrow it in one afternoon.

Final Cut Pro + Motion

Motion 5 converts any 2D title to 3D, gives you lighting rigs, real depth of field, and behaviors (Gravity, Throw, Vortex) that produce natural drift without keyframing every equation. Build the scene in Motion, publish the parameters you want to tweak, and it becomes a reusable FCP template — make it once, meme forever. Plugin shops like Pixel Film Studios sell 3D text presets if you'd rather start from one.

After Effects — the full cinematic build

The technique the pros use for flying-text sequences maps directly onto this meme:

  • Per-character 3D: enable it on the text layer, then add animators for Position/Rotation/Opacity via a Range Selector.
  • The magic is in the selector's Advanced settings: Shape → Ramp Down, Randomize Order → On, and Smoothness → 0 makes characters pop in at random like thoughts firing.
  • Add a Wiggly Selector (or a wiggle() expression) for organic drift with zero keyframes.
  • Parent a camera to a null, rotate the null for orbit moves, and enable camera Depth of Field so equations blur as they pass the face.
  • Ease everything with F9 + the Graph Editor — the difference between "PowerPoint" and "cinema" is the speed curve.

One real pain point: After Effects has no equation editor. The standard workarounds are typing formulas in Word's equation editor and pasting as images, rendering LaTeX to transparent PNGs, or buying the AnyTeX plugin. (Or: generate the equation field in your browser with the tool above and key it in — the equations are already typeset.)

How do the tools compare?

PriceTrue 3D depthAudio-reactiveEquation typesettingEffort
imgflip / KapwingFreeSeconds
CapCutFreeFlat overlaySticker packsMinutes
BeamTracer Flying EquationsFreeYes (WebGPU + DOF)Yes, liveBuilt inMinutes
DaVinci Resolve (Fusion)FreeYesManualManualHours
Final Cut + MotionPaid — Apple lists current pricesYesManualManualHours
After EffectsSubscription — Adobe lists current pricesYesVia keyframes/pluginsPainfulHours+

What else is Flying Equations for?

Flying Equations wasn't built as a meme generator — it's one of 140+ audio visualizers VJs run at live shows, and the equations dance to the music because everything in BeamTracer does. The same moving formulas can become a green-screen overlay for your own clip.

Make your thoughts visible — equations, diagrams, molecules, flying in real time.

OPEN FLYING EQUATIONS →

Go make Nazaré proud. beamtracer.com — I'll see you in the next one.