Archive

Posts Tagged ‘pixel’

HTML5′s canvas Part II: Pixel Manipulation

February 9th, 2010 16 comments

Your pixels will be manipulated.

In an earlier post, I wrote about a few of the things HTML5‘s <canvas> element could do. This post is about one more of them: direct pixel manipulation. You can basically do the three following things:

  1. Create an array of empty pixels, or
  2. Get an array of pixels from an existing canvas, or
  3. Set the pixels of a canvas from a pixel array

Read more…

Share
Categories: Programmer Tags: , , , ,