Spidergram

Hi All

I am wondering whether someone could give me some advice on a project I would like to produce. It’s a Spidergram and basically you have a series of spokes and these represent a score. There are text input boxes that you enter numbers. There are also a series of circles which represent levels. So if you look at my attachment, there are six circles, so if a user enters 6, it will be the outer circle, 1 would be the inner etc.

The advice or recommendations I am after is how do I create the inner shape, and work out the coordinates. I have been playing around with lineto and understand that principle, but I am guessing there is some trigonomitry there somewhere.

Any help would be appreciated!

flash API

I’d assume you would define points fill the middle,

reassign the points and refill when the graph changes.

Yes Flash API is what I was thinking, my question was how best to work out the coordinates

Cheers

well you cheat and hard code it, if the app is simple enough, just find where, 1,2,3,4 is on each axis,

else

have a distance marked movieclip with a dot MC inside it, make a number on each axis, then track where the dot is and use API to draw

ie a simple bar graphs, but each MC is turned to make the spider graph.

else

search this forum for pythargous this topic comes up alot

cos
sin
tan

I’ll take a look at your third option. Wish me luck!!!