Live data from Hacker News

Mona Lisa in pure CSS

codepen.io

51–60 of 97 posts

Re: Mona Lisa in pure CSS

#52

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...

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.

Re: Mona Lisa in pure CSS

#53

Earlier 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.

I wrote it after seeing the thread.

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

#56
post #31

If 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.

Yea, I'm a designer, I use chrome- you know why? The inspector is a lot better. The firefox inspector is sure sexy but it is simply not very powerful. Yea, there's firebug, but chrome has a very powerful set of tools built right in. I can amaze people by redesigning a page on the fly- as long as I don't accidently refresh.

Re: Mona Lisa in pure CSS

#59

There is a generator on Codepen that allows you to do this, that probably deserves more praise: http://codepen.io/blazeeboy/pen/bCaLE

True, how cheap that the author is trying to take full credit as shown on his codepen example: /* Mona Lisa with pure CSS Pointless but fun!

  By Jay Salvat
  http://jaysalvat.com
*/

Re: Mona Lisa in pure CSS

#60
post #17

Jeez. If your underlying method is pixels, you can render any image you want. I'm afraid I'm missing the "hack" here.

that is the hack....I know it's kinda stupid or awesome..depends how you look at it...but pixel by pixel..we can draw anything!
Post reply on HN