Spiral Generator

You sketch a curve from polar equations the way a draftsman would: pick a family, twist the knobs, watch the line breathe. Nothing uploads. The canvas stays in your tab so you learn by dragging, not by reading a wall of formulas first.

Curve family
3
1
0.2
2

Live readouts

Active family
Archimedean
Equation on screen
r = a + bθ
Polyline length
0
Shoelace area
0

Archimedean: Radius grows at a steady rate as you sweep angle. Good first curve when teaching polar plots because the algebra stays linear.

Shown equation: r = a + bθ

Odd facts worth knowing before you screenshot

A Fibonacci spiral you see in design blogs is usually a polyline made of quarter circles, while the golden option here stays a smooth exponential sweep. Both borrow φ from the same number family you get in the golden ratio calculator, yet they are not interchangeable when someone asks for “the” golden spiral in a strict geometry class.

The hyperbolic branch needs a cutoff near θ → 0 because the ideal radius shoots toward infinity. Your preview clamps and rescales so the browser never divides by a true zero. Treat exported PNGs as illustrations, not lab measurements.

Who reaches for this besides homework

Art students testing tattoo or logo rhythm often want a quick polar doodle without installing MATLAB. Teachers demoing polar coordinates pair this page with hand calculations so learners see the same θ stepping forward.

Developers prototyping procedural textures sometimes snapshot a rainbow-mode spiral, then feed the bitmap into a shader as a mask. The workflow sounds niche until you count how often UI backgrounds borrow slow curls.

What your browser is actually plotting

Each frame samples hundreds of polar steps, converts (r,θ) to pixels, joins them with short segments, and optionally restrokes per segment for rainbow modes. Length sums those segment sizes; “shoelace area” closes the polyline against the origin for a rough fill estimate. Neither value claims calculus-grade precision, especially when line thickness overlaps itself.

Animations temporarily reduce the turn count, ease the curve forward, then restore your slider. If you spam the button, the guard waits for the prior run to finish so frames stay smooth on phones.

Pick a curve without reading a textbook cover to cover

FamilyShape of ruleWhen you might choose it
Archimedeanr = a + bθEven spacing between arms; feels like a coiled rope.
Logarithmicr = ae^(bθ)Self-similar growth; echoes shells and galaxies in stylized art.
Fibonacci styleφ-based exponentialQuick stand-in when you want golden growth without drawing squares.
GoldenLogarithmic with φ-tied growthSmoother cousin to the rectangle spiral; pairs with Fibonacci number play.
Hyperbolicr ∝ 1/θDramatic collapse toward the pole; needs the built-in floor.
Fermatr² ∝ θParabolic spiral; satisfying S-curve when you push turns high.

Where the tool refuses to help

We do not verify physical models, export vector files, or solve for parameters from a photo you traced. If you need tiling patterns with symmetry groups, jump to the geometric pattern generator instead; spirals only cover a slice of decorative math.

Privacy: Rendering runs locally in your browser. Saving a PNG writes only to your device; our servers never see the curve parameters you chose.

A classroom prompt you paste into a worksheet

Ask students to lock a = 1, sweep b from 0.05 to 0.4 on an Archimedean spiral, and describe how many times the curve hits the edge of the square viewport before three full turns finish. Then switch to logarithmic with the same turn count, bump b by 0.02 steps, and compare how fast the arms appear to “tighten.” The numbers stay humble, yet the contrast between linear and exponential radius rules shows up immediately.

For a follow-up, have them export two PNGs at 1280 px wide screens and overlay them in an editor with multiply blend. You get a moiré lecture without buying plotting software seats.

Spirals, sliders, and exports

Short answers about accuracy, files, and classroom use.

Why does the hyperbolic spiral look cut off near the middle?

The ideal radius grows without bound as the angle approaches zero, so the preview clamps with a small positive angle floor. You still see the characteristic hook; you do not get a singularity on screen.

Are length and area exact integrals?

No. Length adds pixel segment lengths along the sampled polyline. Area uses a shoelace sum with the origin, so thick strokes, self-crossings, or extreme parameters skew both numbers. Use them for intuition, not certification.

Which export format do I get?

PNG raster at the current canvas resolution, respecting your device pixel ratio up to a cap of two for sharper phones. There is no SVG or PDF path yet.

Does animate growth change my saved settings?

The animation temporarily drives the turn slider, then restores your previous value. If you edit sliders mid-animation, wait until the motion stops so values snap back predictably.

Fibonacci versus golden in this UI: which matches textbook quarter circles?

Neither option draws the classic square tiling with quarter-circle arcs. Fibonacci style uses a smooth φ-powered radius sweep; golden ties growth rate directly to φ per radian step. For arc-based diagrams you still need compass construction or CAD.

Any cost or account requirement?

No signup runs here. Load the page, move sliders, export if you want. Offline use depends on your browser cache for assets, but the math itself stays client-side once scripts load.