This page is work-in-progress. You can reach me on twitter or mail to

Canvas Query

Canvas Query is a gamedev oriented wrapper for <Canvas> element.

It provides chainable API and adds some extra features.

It looks like this

var layer = cq(800, 100).appendTo(document.body);

  .fillStyle("#0af").fillRect(32, 32, 32, 32)
  .fillStyle("#c04").fillRect(70, 32, 32, 32)
  .fillStyle("#6c0").fillRect(110, 32, 32, 32);

Download on Github

Have any questions? Don't hesitate to ask:

Post issues on github, support my work on gratipay author rezoner