Make a square pack to fill any arbitrary shape (loaded from an SVG file) inspired by http://mathematica.stackexchange.com/questions/40334/generating-visually-pleasing-circle-packs
Live example: http://bl.ocks.org/gouldingken/25df41d631a3557d80b7
Gist: https://gist.github.com/gouldingken/25df41d631a3557d80b7
The same approach using circles instead of squares: http://bl.ocks.org/gouldingken/8d0b7a05b0b0156da3b8