Quickreference: display elements in a circle
- Posted by kajyr on July 30th, 2009
- 1 Comment »
How to display elements in a circle? A small function to do that is:
GeSHi Error: GeSHi could not find the language actionscript3 (using path /nfs/c03/h01/mnt/85630/domains/nightdrops.com/html/wp-content/plugins/snipplr/geshi/geshi/) (code 2)
Parameters are:
- items: the items to be displayed a a circle
- center: the center of the circle
- distance: the distance from the center
- initialAngle: the angle of the first item. Zero means that the item wil be aligned orizontally with the center, on his right.
Here’s an example:
Interesting… I’m not that into flash or actionscript, but I have a friend or two who might find this useful. Also, myself in the future, why not.
P.s: ciao Carlo :)
September 30th, 2009 at 13:54