change sumWhite xy log to degree of angle