Page 1 of 1

How to Properly Use the Theta Formula

Posted: Tue Oct 13, 2009 4:41 pm
by GameGenie81
I am having difficulties using one of the formulas that Kevin Horton devised for his NES palette: whenever I do this, the result is inconsistent:

theta = pi * ((cols(z) + hue) / 180)

Examples:
col 1 + hue (phase angle) 210 = 211 degrees?
theta value = 3.6826 radians.

This doesn't look right. Is there something wrong on my part?

Thank you,



Ben Edge (GameGenie81)