{
const height = width / 2 + 50;
var context = (this && this.getContext("2d")) || DOM.context2d(width, height);
for (var x = 0; x < width; x++) {
context.setTransform(1, 0, 0, 1, 0, 0);
context.translate(5 * x, 1);
for (var y = 0; y < x; y++) {
if (Math.random() > .5) continue;
context.translate(0, 5);
context.fillRect(0, 0, 1, 1);
}
}
yield context.canvas;
}