Posts » Tagged ‘canvas’

Rotating a Polygon: Drawing a Directional Arrow Monday, October 6th, 2008 | 1 Comment »

I needed to draw an arrowhead to show the direction of lines drawn on the canvas. When I searched for this I didn’t find any complete solutions, so I wanted to share mine. Includes useful canvas routines to translate and rotate a data structure representing the polygon coordinates.

Read Full Article...

Playing with the Canvas Object Thursday, October 2nd, 2008 | Comments Off

Back after a really busy week with a short article on drawing with the Javascript canvas object. This article describes my first foray into drawing in the browser, with some simple example code. What I’ve learned: canvas drawing presents some interesting interface possibilities that bear more investigation…

Read Full Article...