for a half circle
for a point X, Y
if X < w / 2
x = ( w / 2 ) - X
a = atan(y / x)
R = sqrt(x * x + h * h)
scale = h / R
Record of some of the computer tech I deal with so that it's documented at least somewhere.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment