Teleprompter
Re-wrap a script to a readable line width and compute the auto-scroll timeline, mirrored text and countdown: the same script and settings always produce the same timeline.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Prompt settings
Mirroring is a horizontal flip (scaleX(-1)) so the person reading through a beam splitter sees normal text.
Layout and timeline
- Lines
- 0
- Characters
- 0
- Duration
- 0:00
- Countdown
- 0
This is the prompt window: text scrolls up at the speed you set, and the mirror switch applies to this whole layer.
Wrapped script
The wrapped, optionally numbered plain text the tool computed — ready to copy elsewhere.
What this tool does
- Paste a script before recording or streaming: it is re-wrapped to a fixed line width so every line is the same length and your eyes stop hunting.
- Set a reading speed (characters per minute) and an opening countdown, then press Start: the text scrolls up on the computed timeline, and pause / resume / reset never change the timeline itself.
- Reading through a beam splitter? Switch on the whole-stage mirror (scaleX(-1)); some hardware prompts need the per-line reverse instead, which is a separate switch.
Example
Input
今天只讲三件事:性能、稳定、成本。
Output
今天只讲三件事:性能、 稳定、成本。
At a width of 12 the line breaks after “、” (a punctuation break is used when it sits at 40% of the width or later, otherwise the line is cut hard), so the first line holds 11 characters, not 12.
Frequently asked questions
How is the scroll speed computed?
Speed is characters per minute and the timeline adds up line lengths: line N starts at countdown + (characters before it) ÷ (speed ÷ 60). The default 240 characters per minute suits normal speech; lower it if you keep falling behind.
Does mirroring alter my script?
No. Mirroring is a display-only CSS transform (a whole-stage scaleX(-1), or per-line character reversal). The “Wrapped script” output stays in reading order and copies out without any mirroring.
Which parameter ranges are allowed?
Line width 8–200 (the slider exposes 8–120), speed 10–6000 characters per minute, countdown 0–600 seconds, line height 8–200 px. Out-of-range values are rejected with a message instead of silently falling back to defaults.
Can dropped frames make the scroll drift?
No. Every frame recomputes the offset from the elapsed seconds measured with performance.now() (offsetAt), so frame drops only make the motion less smooth; they never accumulate error or jump when you return to the tab.
Does it record audio or follow my voice?
No. It only wraps text, computes a timeline and renders it: no microphone access, no recording, no upload, and no speech following. The full-screen button uses the browser Fullscreen API and falls back to the inline window if it is refused.
Keywords:teleprompter