Skip to content
UniKit

Phone marquee banner

A danmaku screen that really queues: every comment enters a lane only when the previous tail is fully on screen, and it waits in a real queue when all lanes are busy. Speed, lane count, font size, opacity and density change the picture, blocked words and 4-second de-duplication filter before scheduling, and you can send your own comment and watch which lane it takes.

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

6
140
26
0.9
2

Danmaku lane scheduler

Every comment fights for a lane by real rules: the previous one must have its tail fully on screen and leave the safety gap before the next can enter; when every lane is busy the comment really queues up and enters as soon as one frees.

Not started · the clock starts as soon as the page opens
Sent
0
On screen
0
Queued
0
Blocked
0
Duplicates
0
Lanes busy
0/6
Measured fps
0

Keyboard: Enter sends the text in the input box (with an empty box, Enter sends a sample comment).

  • 1: 0 · 0 ms
  • 2: 0 · 0 ms
  • 3: 0 · 0 ms
  • 4: 0 · 0 ms
  • 5: 0 · 0 ms
  • 6: 0 · 0 ms

Speed, lanes, font size, opacity and density change the picture immediately; filtering and de-duplication really do block before scheduling. Nothing is uploaded.

Single comment scroll model

The real scroll model of one comment for the given speed, font size and screen width: width, duration and passes per minute are all computed by pure functions.

2
你好 UniKit   •   你好 UniKit

Text width: 404.3 px · One pass: 8.03 s · Passes per minute: 7.47 · Sample frames: 82

What this tool does

  • Send a comment for real: it queues by lane occupancy and tells you why it was dropped when the word filter or the de-duplication rule catches it.
  • Tune speed, lane count, font size, opacity and sample density to see scheduling change: more lanes queue less, bigger fonts hold a lane longer.
  • Use the single-comment scroll model to estimate how long one comment takes to cross the screen and how many passes per minute it makes.

Example

Input

你好 UniKit · 140 px/s · 26 px font · 2 repeats · 720 px screen

Output

你好 UniKit   •   你好 UniKit
文字宽度: 404.3 px · 滚动一次耗时: 8.03 s · 每分钟次数: 7.47 · 采样帧数: 82

Real numbers from the single-comment model card: 25 characters, a 404.3 px text width (CJK counts as 1em, the rest as 0.55em) and 8.03 seconds to cross 720 + 404.3 px at 140 px/s.

Frequently asked questions

How are comments scheduled?

A new comment takes the first lane whose previous comment has its tail fully on screen with a 24 px safety gap; when every lane is busy it queues and enters first-come-first-served as soon as a lane frees. The remaining wait time per lane is printed next to the board.

What are the filter and duplicate rules?

Blocked words are case-insensitive (default “广告,加群,http”, editable); the same text is shown only once every 4 seconds and is not repeated while it is still on screen. Dropped comments are counted in the statistics.

Does the keyboard work?

Press Enter in the send box to send (with an empty box, Send posts a sample comment). Samples come from the seed, so the same seed replays the same order.

Do the parameters really change things, and what is not included?

Speed, lanes, font size, opacity and density are all real: lane count changes the row count, font size and speed set how long each comment holds a lane, and density sets how often samples enter; the on-screen, queued and lane counters follow. Nothing is uploaded and there is no pretence of a live audience.

Keywords:danmakucomment overlay

Related tools