Action Script 3.0 (as3) has native functions to draw basic 2D primitives. In AS2 you had to calculate all the points on, say a circle, then draw it using line segments. I've written a little demo which draws circles. This time trial aims to complete in roughly 100ms.

In order to view this Flash content your browser must support Javascript and Flash.