DEV Community

loading...
Cover image for JS Curved Text Generator

JS Curved Text Generator

codingdudecom profile image codingdudecom Updated on ・1 min read

JS function to generate curved text from a HTML text element. This technique makes a span element for each letter and rotates it slightly. You can generate a circle text by adjusting the font site and circle radius.

THE CODE

Check out MockoFun Online: curved text generator

Follow me on Twitter @codingdudecom

Discussion (0)

Forem Open with the Forem app