Source Code

Every variart piece is open source, you can see exactly how it is drawn from the code.

var w = width / 3;

for (var x = 0; x < 3; x++) {
  for (var y = 0; y < 3; y++) {
    s.rect(x * w, y * w, w, w)
      .attr({
        fill: "#000",
        fillOpacity: Math.random()
      })
  }
}