3 ms·
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 devic
by mihaip 14y 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).
- jQueryIsAwesome 14y agoYep, its true. Maybe you should try using an animated gif.
- mihaip 14y agoI tried that too (https://github.com/mihaip/web-experiments/blob/master/temporal-dithering/example/temporal-dithering.gif 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).
- jQueryIsAwesome 14y agoThe only suggestion I have left is to convert it to a video; that is always difficult to snapshot anyway.