Categories
JavaScript Jquery MMD2 Multimedia Design

The image registration point

On at JavaScript canvas the registration point is the top left corner. So in hit detection you have to calculate the x-position, the image width and height. In layout you should be able to figure out where to plage the images, and illustrations. Y = “up / down” X = “left / right” ( I […]

Categories
Animation Canvas html MMD2 Multimedia Design

The X and the Y axis

  On the HTML canvas the top left corner is x = 0 and y = 0. The y-axis is “up & down”. The x-axis is “left & right”.

Categories
Canvas

Filled Circle Canvas

Turotial demonstrating a filled circle. Sample by Eric Rowell @ HTML5 Canvas tutorials:

We use cookies - is it ok with you+ more information

Multimusen.dk will set a few cookies from Doubleclick, Google and the Social Media plugins they ay set some cookies.

Close