jQuery image grid effect

Posted by anon on Stack Overflow See other posts from Stack Overflow or by anon
Published on 2009-11-03T03:02:12Z Indexed on 2010/05/12 5:04 UTC
Read the original article Hit count: 307

Filed under:
|
|
|

I have an image sitting on a page that I want to create a grid type overlay (that covers the image with a black fill) which will be partitioned into 50x50 pixels (what ever size, tbh) squares.

The squares on the grid will then flip over, one at a time, in random positions revealing the image below it.

The only way I can think of accomplishing this would be to create a whole bunch of grid squares and overlay them on the image with jQuery, then flip each image square individually. This, though, would be a pain in the ass. Doing this all dynamically in jQuery is what I'm hoping to accomplish.

Any ideas?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about image