# Spidergram

**URL:** <https://forum.kirupa.com/t/spidergram/262483>\
**Category:** flash\
**Created:** [June 6, 2008, 10:09am UTC](https://forum.kirupa.com/t/spidergram/262483 "2008-06-06T10:09:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![elyleebert](https://avatars.discourse-cdn.com/v4/letter/e/e56c9b/32.png) [@elyleebert](https://forum.kirupa.com/u/elyleebert)\
**Post date:** [June 6, 2008, 10:09am UTC](https://forum.kirupa.com/t/spidergram/262483/1 "2008-06-06T10:09:10Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![randomagain](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@randomagain](https://forum.kirupa.com/u/randomagain)\
**Post date:** [June 6, 2008, 10:27am UTC](https://forum.kirupa.com/t/spidergram/262483/2 "2008-06-06T10:27:21Z")

</div>

flash API

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

reassign the points and refill when the graph changes.

---

<div class="post-metadata">

**Author:** ![elyleebert](https://avatars.discourse-cdn.com/v4/letter/e/e56c9b/32.png) [@elyleebert](https://forum.kirupa.com/u/elyleebert)\
**Post date:** [June 6, 2008, 10:35am UTC](https://forum.kirupa.com/t/spidergram/262483/3 "2008-06-06T10:35:47Z")

</div>

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

Cheers

---

<div class="post-metadata">

**Author:** ![randomagain](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@randomagain](https://forum.kirupa.com/u/randomagain)\
**Post date:** [June 6, 2008, 11:10am UTC](https://forum.kirupa.com/t/spidergram/262483/4 "2008-06-06T11:10:19Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![elyleebert](https://avatars.discourse-cdn.com/v4/letter/e/e56c9b/32.png) [@elyleebert](https://forum.kirupa.com/u/elyleebert)\
**Post date:** [June 6, 2008, 11:17am UTC](https://forum.kirupa.com/t/spidergram/262483/5 "2008-06-06T11:17:50Z")

</div>

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