Nope. I only linked that to show how to increase the precision of the XYmatrix demo.
I've been trying to keep the xy array in 16bit too, so I can feed the 16 bit values to Wu's algo, and let it do the conversion to the 8bit coordinates. Does that seem like a right approach to you or not?
I'm not sure what you mean by 'XY array' (perhaps XY() function?) or what you are trying to achieve here. Could you explain a bit more please.
What I have been trying it keeping all the values, the startHue16, yHueDelta16, xHueDelta16 in 16bit, so I can feed them as 16 bit values to the wu_pixel(x, y, &color); function as 16bits and have it do the calculations to the 8bit position, as it is doing now.
View all comments
Show parent comment
2
u/sutaburosu [stavros] Dec 01 '20
Nope. I only linked that to show how to increase the precision of the XYmatrix demo.
I'm not sure what you mean by 'XY array' (perhaps XY() function?) or what you are trying to achieve here. Could you explain a bit more please.