FunkyGrid is a server-side (PHP) implementation of excellent javascript library ‐ mason.js by Drew Dahlman.

How does it work? Mason.js and similar libraries access DOM to get info about elements in the layout, things like top/left, calculated width/height etc. So to make this work i had to implement simple layout engine. And as it turns out, it wasn't so hard.

I will release the source code as soon as i clean things up, in the mean time you can refresh the page to get random grid.