Archive » ‘PHP’ Category

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...

Appendo Form Row Cloning Plugin for jQuery Wednesday, September 10th, 2008 | 3 Comments »

Appendo is a tiny jQuery plugin that creates a button interface to add and remove rows for use in forms where multiple rows of input may be entered. It may also serve as an example of simple jQuery plugin design. Prompted by a real-life scenario. Go jQuery!

Read Full Article...

Jcrop v.0.9.0 – fresh jQuery image crop plugin Tuesday, September 9th, 2008 | 3 Comments »

I’ve just released my first jQuery plugin. Announcing Jcrop – the image cropping plugin for jQuery. Jcrop allows developers to easily implement a cross-platform image crop tool into web applications. Features a graphical interface that faithfully reproduces the look and feel of familiar desktop applications.

Read Full Article...