Word Spiral
Generate beautiful spiral text art from any words or phrases. Customize spacing, size, direction, and colors, then download as PNG.
About
A word spiral maps characters along an Archimedean spiral path defined by r = a + bθ, where the gap between successive turns is controlled by the growth factor b. Each glyph is rotated to align with the local tangent vector, producing the illusion of text flowing naturally along a curve. Getting the character spacing wrong causes either unreadable overlap at inner turns or wasteful gaps at outer turns. This tool solves that by computing adaptive angular steps: the increment Δθ at each point is proportional to the measured character width divided by the current radius, so density stays visually uniform from center to edge.
The renderer operates entirely on an HTML Canvas element. No server processing, no font rasterization service. The spiral supports both clockwise and counter-clockwise winding, variable turn counts, and arbitrary repetition of the source text to fill the available path length. Results export as lossless PNG at the canvas resolution. Note: glyph metrics depend on the browser's font engine, so minor visual differences may appear across operating systems.
Formulas
The Archimedean spiral in polar coordinates:
Converting to Cartesian coordinates for canvas placement:
The tangent angle at any point, used to rotate each glyph so it follows the curve:
Adaptive angular step to maintain uniform visual density:
Where a is the initial radius, b is the growth factor per radian, θ is the current angle, wchar is the measured pixel width of the current character, and s is the user-defined extra letter spacing.
Reference Data
| Parameter | Symbol | Range | Default | Effect |
|---|---|---|---|---|
| Initial Radius | a | 5 - 80 px | 20 | Distance from center to first character |
| Growth Factor | b | 2 - 30 px/rad | 8 | Spacing between successive spiral arms |
| Number of Turns | n | 1 - 20 | 5 | Total revolutions of the spiral |
| Font Size | - | 8 - 48 px | 16 | Glyph height along the path |
| Letter Spacing | s | 0 - 20 px | 2 | Extra gap inserted between characters |
| Direction | - | CW / CCW | CW | Clockwise or counter-clockwise winding |
| Canvas Size | - | 300 - 1200 px | 600 | Output image dimensions (square) |
| Text Color | - | Any hex | #3C3654 | Fill color for all glyphs |
| Background | - | Any hex / transparent | Transparent | Canvas background fill |
| Font Family | - | 5 options | Georgia | Typeface used for rendering |
| Max Theta | θmax | 2π - 40π | 10π | Derived from turn count |
| Tangent Angle | φ | Computed | - | Each character rotated to path tangent |