Posts Tagged ‘html5’

Flash alternatives already

April 11th, 2010 by JorisO | No Comments | Filed in Front-end development

Flash (“Adobe Flash” formerly Macromedia Flash, and even longer ago as FutureSplash), has in recent years finally gotten some serious competition. Oddly this hasn’t really happened often yet in Flash’s fifteen years of existence.

(more…)

Tags: , ,

HTML5 canvas transformations

March 28th, 2010 by JorisO | No Comments | Filed in Canvas, Front-end development

Once the contents of a canvas element have been drawn using the 2d context drawing methods or image loading methods you can start using transformation methods to manipulate the drawing state.

To keep track of drawing states you use the canvas 2d context’s save() and restore() methods.

The save() method pushes a copy of the current drawing state onto the drawing state stack. This stack is simply a storage pile of canvas drawing states that can be returned to by successively calling the restore() method.
(more…)

Tags: , , ,

Using images in HTML5 Canvas

March 22nd, 2010 by JorisO | 1 Comment | Filed in Canvas, Front-end development

The html5 canvas element 2d context allows you to display and manipulate image files through it’s drawImage method. The drawImage method is overloaded to provide three sets of arguments for dealing with images.
(more…)

Tags: , ,