Categories
JavaScript Jquery MMD2 Multimedia Design

Jquery first fiddle

Here is a very, very short Jquery introduction on Jsfiddle. After a while the document ready function becomes boring. However there is a shorthand version: $(function() { // … your code … });

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
Canvas JavaScript MMD2 Multimedia Design

Canvas Animation

With a canvas you can animate your page. You can use images or draw geometric figures on the canvas. Here are some tutorials for canvas animation. Basic Canvas drawing. Canvas animation – see the video below. JavaScript and SVG (Peter Collinridge). Parallax Effect ( Multilayer animation ) The following presentation is not strictly JavaScript but a […]