Open benfoxall opened 10 years ago
0 to 2**n-1 is the best way to measure an angles if you use unsigned integers of length n because the overflow does the right thing when you add or multiply them.
Doing this in JavaScript is a bit tricky, though.