In the midst of developing a small drawing test, I've run into a situation involving line computations.
Currently the drawing test works, but only enables singular point drawing at the cursor position.
I've seen python interpretations of Bresenham's line algorithm, which works as expected.
However, with loop overhead, the calculations become slow... revealing a slowly generating line of sorts.
Threading might be an answer, my understanding is limited though.
The question being, what would be a better method to allow for faster line drawing in this situation?
My thoughts are to reduce the number of glUpdate calls... still testing.
*source available, feel free to use*