# Rendering Solar system - angles and distance

**URL:** <https://forum.kirupa.com/t/rendering-solar-system-angles-and-distance/216315>\
**Category:** flash\
**Created:** [February 15, 2007, 11:18am UTC](https://forum.kirupa.com/t/rendering-solar-system-angles-and-distance/216315 "2007-02-15T11:18:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahref](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ahref/32/3309_2.png) [@ahref](https://forum.kirupa.com/u/ahref)\
**Post date:** [February 15, 2007, 11:18am UTC](https://forum.kirupa.com/t/rendering-solar-system-angles-and-distance/216315/1 "2007-02-15T11:18:14Z")

</div>

hello,  
NOTE: what follows probably involves trigonometery 😛  
I am aiming to create a space exploration game where users can explore freely through a number of solar systems at their own leisure. The storage data of the plannets and their properties is already working.

I am however having trouble rendering the plannet in its proper location. I have draw a diagram to help in my explanation(sorry if it is too big):

![](http://ahref.theicy.net/i/dots.png)

What i cannot figure out is the mathematical formula that can work out what the x and y of the plannet should be, using the distance from the center and the angle.

Does anyone know?(i will be posting this on a maths forum aswell)

if you need anymore explanation please ask
