Bent Text Generator
Generate curved and bent text along circular arcs. Customize font, colors, bend angle, spacing. Export as PNG or SVG.
About
Placing text along a curved path requires computing angular offsets for each glyph relative to a circle of radius R. Miscalculating the cumulative arc length causes characters to overlap or gap unevenly. This tool maps each character to a position on a circular arc defined by bend angle θ, measuring individual glyph widths via the Canvas measureText() API to distribute them proportionally. The result is optically correct curved typography without vector editing software.
The radius is derived inversely from bend intensity: a small θ yields a large R (gentle curve), while θ approaching 360° wraps text into a full circle. Note: kerning approximation uses metric widths only. Ligature-heavy typefaces or complex scripts (Arabic, Devanagari) may render incorrectly. For production signage, verify output against your target renderer.
Formulas
Each character is positioned along a circular arc of radius R. The radius is computed from the total text arc width W (sum of all glyph widths plus spacing) and the user-specified bend angle θ:
where θ is in radians. For character i, its angular position φi relative to the arc midpoint is:
where di is the cumulative distance to the center of glyph i. The Cartesian coordinates on the canvas become:
Each glyph is then rotated by φi so its baseline remains tangent to the arc. For downward bends, the sign of R is inverted, flipping the arc center above the text line.
Reference Data
| Bend Angle θ | Visual Effect | Typical Use Case | Radius Factor |
|---|---|---|---|
| 0° | Straight line (no bend) | Standard text | ∞ |
| 15° | Subtle arch | Elegant headers | ∼19W |
| 30° | Gentle curve | Logo taglines | ∼9.5W |
| 45° | Moderate arc | Badge/emblem text | ∼6.4W |
| 60° | Pronounced curve | Seal inscriptions | ∼4.8W |
| 90° | Quarter circle | Circular logos (top) | ∼3.2W |
| 120° | Wide arc | Stamp borders | ∼2.4W |
| 150° | Near-semicircle | Half-round labels | ∼1.9W |
| 180° | Semicircle | Classic badge top/bottom | ∼1.6W |
| 210° | Extended semicircle | Wraparound labels | ∼1.4W |
| 240° | Wide wrap | Circular signage | ∼1.2W |
| 270° | Three-quarter circle | Coin/medal text | ∼1.06W |
| 300° | Near-full circle | Clock faces | ∼0.95W |
| 330° | Almost closed | Decorative rings | ∼0.87W |
| 360° | Full circle | Complete circular text | ∼0.8W |