Simply find point in circle border

869 Views Asked by At

This seems to silly for you expert guys in math but I am not good in this So Please help.

Suppose you have clock of 330 * 330 pixels so I have radius 165 in circle.

I want to find position of 1 (in clock ) . so circle is 360 degrees

so 360 / 12 = 30 Degree per hour

To find 1'O Clock position I have tried

x = cos(30) * 165 which is 25.4514892315. how to use this value.

Any Help would be appreciated

enter image description here

What I need is Put White circle at 1 O Clock position White circle size is 20 Pixel Orange circle size is 330 Pixel

enter image description here