# How to compute tile offset for different isometric angles?

I am working on an isometric game and the designers want to use a different isometric angle than the default one, where I simply had to do a 2/1 offset based on tile size.

I know what the new isometric angle is, how can I work out the w/h ratio to offset my tiles ?

• Are you aware of the tangent function and, incidentally, the inverse tangent? – sam hocevar Dec 12 '11 at 12:49
• When you find out your answer, you should post it as an answer to this question so future visitors can learn from your efforts. – Tetrad Dec 12 '11 at 16:43

tan(angle) = opp/adj implies that if you know the angle and either the width or the height, you can find the other dimension. For example, by rearranging: opp = adj * arctan(angle).