Why won\'t my multiple rectangles draw in the canvas?
Don't you need to give it the fill color?
context.fillStyle = i.fill; context.fillRect(i.x,i.y,i.w,i.h);