Hacker News new | ask | show | jobs
by mihaip 4924 days ago
I tried this with a canvas (putImageData with alternatively the positive and negative frame) and it wasn't any faster on desktop Chrome (and slower on iOS devices).
1 comments

Yep, its true. Maybe you should try using an animated gif.
I tried that too (https://github.com/mihaip/web-experiments/blob/master/tempor...). It still flickers, I'm guessing because the frame delay interval is specified as an integer, and both 16 and 17ms don't quite line up with 60Hz (or whatever the screen's refresh rate is).
The only suggestion I have left is to convert it to a video; that is always difficult to snapshot anyway.