Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to create creeping line without flickering?

I've tried javascript (w. jQuery), flash, canvas, but i cannot get rid of flickering, even on fast browsers (Chrome).

Javascript example

Most of time it does go smooth, but if you'll watch it for a while you'll see that it lags periodically. Seems strange that it's too hard for browser to render an animated line of text.

like image 498
ambienthack Avatar asked Nov 14 '22 05:11

ambienthack


1 Answers

  <marquee scrolldelay="5" scrollamount="50">
   This is a very fast scrolling text. Try me</marquee>
like image 120
Martin Borthiry Avatar answered Dec 19 '22 22:12

Martin Borthiry