Simulate scrolling text in javascript

前端 未结 5 1472
清酒与你
清酒与你 2021-01-16 20:52

I\'m trying to come up with something to simulate an old school modem connection. I.E. text that paints itself at variable speeds rather than rendering at once.

Her

5条回答
  •  青春惊慌失措
    2021-01-16 21:10

    You can try appending more than one character at a time. Try appending 2 or 3 characters, or more.

    Animation speed is dependent on frame rate and amount of change between frames.

提交回复
热议问题