← Prompt Lab

Fourier Epicycle Lab

Live harmonic circles tracing any waveform you draw
Education · Cards3 KB0 copies
SHARE
10 / PLAYGROUNDFourier Epicycle Lab
BRAND COLORS
Fullscreen ↗

A hands-on harmonic-analysis playground where stacked rotating epicycles trace a hand-drawn or preset waveform in real time. It turns Fourier series from an abstract formula into something you can literally grab, scrub, and watch resolve term by term.

fouriercanvasmathinteractivestem
// Drop the standalone fourier-epicycle-lab.html into /public/effects/fourier-epicycle-lab.html
// Or copy the HTML/CSS/JS tab directly into your component — zero external dependencies.
export function FourierEpicycleLabEmbed() {
  return (
    <div className="relative min-h-[480px] w-full overflow-hidden rounded-2xl border border-white/10">
      <iframe
        src="/effects/fourier-epicycle-lab.html"
        title="Fourier Epicycle Lab"
        className="h-full min-h-[480px] w-full border-0"
        loading="lazy"
      />
    </div>
  )
}

WHY THIS WORKS IN PRODUCTION

  • Draw any waveform and watch epicycles reconstruct it live
  • Harmonic slider morphs wobbly sine into sharp square wave
  • Full pointer + touch drawing with touch-action: none
  • Static frame fallback under prefers-reduced-motion

DROP-IN SPECS // WEB & MOBILE FIT

UI SLOTCards & Bento
BEST USE CASEEdTech & Education UI Component
IDEAL PLACEMENTDrop directly into section or mobile screen
BUNDLE SIZE3 KB
DEPENDENCIESZero (HTML/CSS/JS)
MOBILE / TOUCHMobile Friendly
GPU WEIGHTLight · 60fps