What would be nice is the source code of the code generator that did that CSS so everyone can post tomorrow their favorite image in pure CSS...
How do you know he didn't draw it by hand?
Mona Lisa in pure CSS
51–60 of 97 posts
Re: Mona Lisa in pure CSS
#52What would be nice is the source code of the code generator that did that CSS so everyone can post tomorrow their favorite image in pure CSS...
https://gist.github.com/3831235
Re: Mona Lisa in pure CSS
#53Earlier quoted context omitted.
https://gist.github.com/3831235
Did you just find it, or wrote it right now? either way, this makes the point of the top voted comment even stronger.
It's a pretty simple technique, but it's intensely resource heavy. If the op (or anybody) wrote a script that does this algorithmically to produce as few drop shadows as necessary while maintaining quality... Well, then I'd be thoroughly impressed.
Regardless, this clearly struck a chord with some people so I say cheers to the op! Easy or not, he did it, did it well, and captured peoples' wonder.
Re: Mona Lisa in pure CSS
#54Re: Mona Lisa in pure CSS
#55Re: Mona Lisa in pure CSS
#56If I had a thousand dollars for every HN post that works in Chrome and not Firefox, I'd feel somewhat better about what that suggests.
Re: Mona Lisa in pure CSS
#57Re: Mona Lisa in pure CSS
#58Pixel by pixel... seriously.
Re: Mona Lisa in pure CSS
#59There is a generator on Codepen that allows you to do this, that probably deserves more praise: http://codepen.io/blazeeboy/pen/bCaLE
By Jay Salvat
http://jaysalvat.com
*/Re: Mona Lisa in pure CSS
#60Jeez. If your underlying method is pixels, you can render any image you want. I'm afraid I'm missing the "hack" here.