DEV Community

Cicadas.ai
Cicadas.ai

Posted on

If a looping GIF has to spell a name correctly, set the type — don't prompt it

A name in a looping GIF looks simple until the letters are wrong. You want the file to say Maya, or OPEN, or thank you — spelled exactly as you typed it, in every frame. Two shortcuts keep failing that test.

I build LoopGIF.

The first shortcut is a screenshot of type. You get the spelling for free, because a font rendered it, and then you have a still. Scaling that bitmap, fading it, or sliding it around is awkward: the letters are no longer type, they are a picture of type, already rasterized at one size and one weight. If you need a different colour or a tighter crop, you go back to the design tool and shoot another frame.

The second is asking an image model to “draw the word OPEN in neon.” The model is not setting type. It is synthesizing letter-shaped pixels from a description. An O can grow a serif it should not have, an E can become an F two frames later, and a four-letter word can arrive as five. In a short loop you see that misspelling every couple of seconds, which is worse than a static typo, because the animation keeps calling attention to it.

The reliable way is to keep the string as text and draw it with a font on every frame. The motion can bounce, wave, or flicker. The spelling cannot drift, because nothing is guessing the letters.

Typography is a string. A picture of typography is not.

When a layout program or a browser draws “Nina”, it maps four characters to glyphs in a font, then paints those outlines. Change the colour, the size, or the frame number, and the same four glyphs appear again. That is why a title card stays spelled correctly when you animate it in a motion tool or in CSS: the source is still a string.

A screenshot throws that string away. An image model never had the string as type in the first place. It may have been trained on pictures of signs and book covers, and it can often produce something that looks like lettering. “Looks like” is not the same as “reads as the name you need.” If the GIF is a greeting, a shop sign, or a two-word chat reaction, readable spelling is the whole point.

So the job is: keep the characters, pick a typeface, then animate the already-correct lettering.

Set the type, then pick a motion

LoopGIF's text-to-GIF tool has a free tab that does this in the browser. You type up to 200 characters, including line breaks and emoji, choose one of six effects, and download a GIF. Nothing is uploaded, no account is required, and the file has no watermark. Encoding starts when you click Download.

The six effects are Typing, Slide, Glitter, Bounce, Neon glow, and Wave. Each one swaps in the controls it needs, but your text, canvas size, and transparency setting are kept when you switch. Thirteen bundled fonts, all under the SIL Open Font License, load on demand. You set size, alignment (left, centre, or right), and colours, or you tick Transparent background.

For a name or a two- or three-word line, Bounce, Wave, Neon glow, and Glitter are the better fit: the whole word stays on screen, the viewer reads it once, and the effect is what repeats. Slide is the ticker: one line moving across the frame, with the loop length rounded to a whole number of steps so the wrap has no jump. Typing reveals letters over time, which is a different job — useful when the arrival of the words is the point, not when a finished name has to sit in a loop and be read at a glance.

Before you export, the preview plays with the real frame timing and shows the frame count, the length, and an estimated file size. The page says that estimate is usually within about a quarter of the real file; check the downloaded GIF if the destination has a tight budget.

A few constraints are worth planning around, because they come from the format and from the editor, not from taste:

  • The canvas can be up to 728 pixels wide, 640 pixels tall, and 307,200 pixels in area, and every GIF is capped at 150 frames.
  • Frame delays are whole hundredths of a second and never below 2. The page notes that browsers play anything faster than that at 10 frames per second, so the editor does not offer a delay the player will ignore.
  • GIF transparency is on or off, not semi-transparent. Soft edges on the letters are blended toward a matte colour you choose, so pick the colour of the page or chat background the file will sit on.
  • Emoji are drawn with your device's emoji font, so they can look different on another system.

None of those limits changes the spelling. The letters are still coming from a font.

When you want illustrated lettering anyway

Sometimes you do want the letters to look drawn — neon flicker, balloon forms, glitter that is a texture the font does not have. The same page has an AI tab for that, and it is honest about the difference.

Describe a GIF turns a prompt into a short animated scene. It is the right mode when there are no words to protect, and a poor choice when a name has to be readable, because you are back to hoping the model letters the sign correctly.

Animate words is the other mode: you supply the exact text, up to 40 characters, plus a style, and the page says that text is passed as an instruction that it must read exactly in every frame. Allowed characters are letters, digits, spaces, and a short list of marks such as ! ? . , ' & - : along with hearts or stars. The model draws at most 16 frames at about 512 pixels, so the motion is chunkier than the free effects, which can render many more frames from a formula.

That tab needs a signed-in account and costs 1 credit per GIF. The free typography tab stays free. The page says a failed job is refunded, that generations usually arrive in under a minute, and that exporting an already-generated AI GIF at another width or speed in the browser is free. The prompt must not ask for real people or brand names. I am not describing a purchase flow; use this mode only if you already have an account and a credit, and always read the result frame by frame. An instruction to keep the spelling is not the same guarantee as a font.

If you need exact colours, a specific bundled typeface, a custom canvas, or a longer line, stay on the free tab. If you need a decorated lettering style and the line is short enough, Animate words is the constrained path. Do not put the name only in the style prompt and hope.

A short checklist for a name or a line

  • Type the words. Do not photograph them, and do not bury them in a scene prompt.
  • Keep the line short enough to read at the size you will actually show. A name or two words can carry Bounce, Wave, Neon, or Glitter. A longer sentence belongs in Slide, or in ordinary text next to a simpler animation.
  • Use a high-contrast colour pair. Motion does not help if the letters disappear into the background.
  • Watch the loop in the preview, not only a single frame. Confirm that nothing in the effect (a hop, a wave, a flicker) makes a letter unreadable at the moment it should be read.
  • If you go through Animate words, check every frame for a mutated glyph before you post the file.

A looping GIF that has to say a particular name is a typography problem first and an animation problem second. Set the type, then loop it.

I build LoopGIF.

Top comments (0)