whiteoctober / bauble

Image tracking with getUserMedia
MIT License
3 stars 0 forks source link

threshold hue value better #3

Open benfoxall opened 10 years ago

benfoxall commented 10 years ago
rjmunro commented 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.