4 ms·
Fantastic. I did a thing like this a while back but using individual divs for the pixels. The idea was to pixelate the image, but then I realized you could set
by ned2 11y ago
Fantastic. I did a thing like this a while back but using individual divs for the pixels. The idea was to pixelate the image, but then I realized you could set the pixel size to 1 and get a perfect rendering of the image back. I'm happy to report that it's even slower than Img2css' method. Another perk is that you can apply styles to the pixel divs yielding interesting effects.
http://www.nedned.net/?x=divify http://www.nedned.net/?x=divify
(Scroll to the bottom to skip the waffle and get to the demo)
- rorykoehler 11y agothat is awesome