O'Reilly logo
  • Scott Noyes thinks this is interesting:

x, y

From

Cover of HTML5 Games: Novice to Ninja

Note

x, y are not defined. They could be child.pos.x, child.pos.y, but since we did ctx.translate to that position already, this should be 0, 0.