Skip to content
UniKit

Handheld banner

Calculate scrolling banner geometry, mirroring, neon themes, and SVG preview without bitmap generation.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Scroll parameters

Geometry, colours and a visible-frame SVG with an auto-looping scroll animation; the page only renders these parameters.

Type some banner text to see the scroll parameters

What this tool does

  • Hold up a sign at a concert, airport pickup or exam day: work out the font size and scroll speed first, then turn the phone landscape and keep it awake.
  • Compare the five palettes (fluorescent, pink, cyan, amber, white) on the same screen ratio and pick one that reads well day and night.
  • Grab the returned SVG for a video or LED screen: the text position, font size and stroke width are already computed, and it carries a SMIL loop animation, so it starts scrolling the moment you drop it into an editor or a web page.

Example

Input

加油 (1280 × 480 landscape, fluorescent, default speed)

Output

Banner: 加油 (2 chars) · theme fluorescent · direction right to left
Screen 1280 × 480px · font size 297.6px · speed 160px/s · repeats 1
Text width 595.2px · banner width 1875.2px · loop 11.72 s · offset 0px
Not mirrored: hold the sign up in the normal orientation.
Palette: background #04160a · text #7cff5a · glow #39ff14

Real output with the defaults: font size = 480 × 62% = 297.6px; two CJK glyphs count as two full widths, so 595.2px of text; the banner width adds one screen width so the text can travel right across the display, hence a loop of 1875.2 ÷ 160 ≈ 11.72s.

Frequently asked questions

Is the font size automatic?

By default it is the smaller of 62% of the screen height and 32% of the screen width divided by the character-width total, so short text scales up with the height and long text is shrunk instead of squeezing onto one line. CJK glyphs and emoji count as 1 unit, everything else as 0.58. Enter 24–1200px to fix it manually.

Why does the banner width include a whole screen width?

For the text to travel across the entire display the scroll distance is at least one text block plus one screen. So banner width = text width × repeats + gaps + one screen width, and one loop takes banner width ÷ speed. With more than one repeat the gap is twice the font size so consecutive copies do not run together.

What is the mirror option for?

It flips the whole screen horizontally — background and text together — which is what you want when holding the phone against glass and reading it from the other side. Leave it off for a normal sign.

Does it keep the screen awake or animate the scroll?

Keeping the screen awake: no — a browser cannot force the display to stay on. The scroll animation: yes — the returned SVG frame carries a SMIL animation that loops across the banner width, so it scrolls on its own in a browser, and the frame itself keeps the text inside the canvas so it stays visible even without animation.

What are the hard limits?

At most 60 characters per banner; screen 160–4000 by 120–4000px; speed 10–2000px/s; repeats 1–20; elapsed seconds 0–86400. Exceeding one throws an error naming the option instead of silently clamping it.

Keywords:bannerSVG

Related tools